diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 6438724e8..4eac761e6 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -175,7 +175,7 @@ ChoicePage::init( PartitionCoreModule* core ) setModelToComboBox( m_drivesCombo, core->deviceModel() ); connect( m_drivesCombo, - static_cast< void ( QComboBox::* )( int ) >( &QComboBox::currentIndexChanged ), + qOverload( &QComboBox::currentIndexChanged ), this, &ChoicePage::applyDeviceChoice );