[partition] Simplify code for overloads

main
Adriaan de Groot 4 years ago
parent fedfed5619
commit c2d0a247a3

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

Loading…
Cancel
Save