[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() );
|
||||
|
||||
connect( m_drivesCombo,
|
||||
static_cast< void ( QComboBox::* )( int ) >( &QComboBox::currentIndexChanged ),
|
||||
qOverload<int>( &QComboBox::currentIndexChanged ),
|
||||
this,
|
||||
&ChoicePage::applyDeviceChoice );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user