[partition] Apply format

This part was not formated properly. Fixed using clang-format
This commit is contained in:
Jeremy Attali 2022-09-06 15:57:35 -04:00
parent 4ced8279c6
commit ddf65a2437

View File

@ -1731,10 +1731,11 @@ ChoicePage::createBootloaderPanel()
return panelWidget; 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 // If there are any choices for FS, check it's not ZFS because that doesn't
// support the kind of encryption we enable here. // support the kind of encryption we enable here.
const bool suitableFS = m_eraseFsTypesChoiceComboBox ? m_eraseFsTypesChoiceComboBox->currentText() != "zfs" : true; const bool suitableFS = m_eraseFsTypesChoiceComboBox ? m_eraseFsTypesChoiceComboBox->currentText() != "zfs" : true;
return (choice == InstallChoice::Erase) && m_enableEncryptionWidget && suitableFS; return ( choice == InstallChoice::Erase ) && m_enableEncryptionWidget && suitableFS;
} }