diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 7e2fd0b30..8c22dac29 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -84,8 +84,6 @@ ChoicePage::ChoicePage( const SwapChoiceSet& swapChoices, QWidget* parent ) , m_replaceButton( nullptr ) , m_somethingElseButton( nullptr ) , m_eraseSwapChoices( nullptr ) - , m_replaceSwapChoices( nullptr ) - , m_alongsideSwapChoices( nullptr ) , m_deviceInfoWidget( nullptr ) , m_beforePartitionBarsView( nullptr ) , m_beforePartitionLabelsView( nullptr ) @@ -263,14 +261,6 @@ ChoicePage::setupChoices() m_eraseSwapChoices = createCombo( m_swapChoices ); m_eraseButton->addOptionsComboBox( m_eraseSwapChoices ); -#if 0 - m_replaceSwapChoices = createCombo( { SwapChoice::NoSwap, SwapChoice::ReuseSwap, SwapChoice::SmallSwap, SwapChoice::FullSwap } ); - m_replaceButton->addOptionsComboBox( m_replaceSwapChoices ); - - m_alongsideSwapChoices = createCombo( { SwapChoice::NoSwap, SwapChoice::ReuseSwap, SwapChoice::SmallSwap, SwapChoice::FullSwap } ); - m_alongsideButton->addOptionsComboBox( m_alongsideSwapChoices ); -#endif - m_itemsLayout->addWidget( m_alongsideButton ); m_itemsLayout->addWidget( m_replaceButton ); m_itemsLayout->addWidget( m_eraseButton ); @@ -322,8 +312,6 @@ ChoicePage::setupChoices() CALAMARES_RETRANSLATE( updateSwapChoicesTr( m_eraseSwapChoices ); - updateSwapChoicesTr( m_alongsideSwapChoices ); - updateSwapChoicesTr( m_replaceSwapChoices ); ) } diff --git a/src/modules/partition/gui/ChoicePage.h b/src/modules/partition/gui/ChoicePage.h index 954bc5df1..f4cb5fce5 100644 --- a/src/modules/partition/gui/ChoicePage.h +++ b/src/modules/partition/gui/ChoicePage.h @@ -152,8 +152,6 @@ private: PrettyRadioButton* m_replaceButton; PrettyRadioButton* m_somethingElseButton; QComboBox* m_eraseSwapChoices; - QComboBox* m_replaceSwapChoices; - QComboBox* m_alongsideSwapChoices; DeviceInfoWidget* m_deviceInfoWidget;