From ddf65a2437637ebeb31d4d51923b30844aa4bf36 Mon Sep 17 00:00:00 2001 From: Jeremy Attali Date: Tue, 6 Sep 2022 15:57:35 -0400 Subject: [PATCH] [partition] Apply format This part was not formated properly. Fixed using clang-format --- src/modules/partition/gui/ChoicePage.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index c5e44aaec..a3ce5d7b8 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -1731,10 +1731,11 @@ ChoicePage::createBootloaderPanel() return panelWidget; } -bool ChoicePage::shouldShowEncryptWidget( Config::InstallChoice choice ) const +bool +ChoicePage::shouldShowEncryptWidget( Config::InstallChoice choice ) const { // If there are any choices for FS, check it's not ZFS because that doesn't // support the kind of encryption we enable here. const bool suitableFS = m_eraseFsTypesChoiceComboBox ? m_eraseFsTypesChoiceComboBox->currentText() != "zfs" : true; - return (choice == InstallChoice::Erase) && m_enableEncryptionWidget && suitableFS; + return ( choice == InstallChoice::Erase ) && m_enableEncryptionWidget && suitableFS; }