[partition] Simplify code for overloads
This commit is contained in:
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…
Reference in New Issue
Block a user