[partition] Simplify code for overloads

This commit is contained in:
Adriaan de Groot 2021-07-12 16:52:24 +02:00
parent fedfed5619
commit c2d0a247a3

View File

@ -175,7 +175,7 @@ ChoicePage::init( PartitionCoreModule* core )
setModelToComboBox( m_drivesCombo, core->deviceModel() );
connect( m_drivesCombo,
static_cast< void ( QComboBox::* )( int ) >( &QComboBox::currentIndexChanged ),
qOverload<int>( &QComboBox::currentIndexChanged ),
this,
&ChoicePage::applyDeviceChoice );