diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 8ff028ac4..3c9895642 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -200,15 +200,6 @@ ChoicePage::init( PartitionCoreModule* core ) * * No texts are set -- that happens later by the translator functions. */ -static inline QComboBox* -createCombo( std::initializer_list< SwapChoice > l ) -{ - QComboBox* box = new QComboBox; - for ( SwapChoice c : l ) - box->addItem( QString(), c ); - return box; -} - static inline QComboBox* createCombo( const QSet< SwapChoice >& s ) {