[partition] Modernize signal-slot connection
This commit is contained in:
parent
9d1fec3668
commit
903fed07a9
@ -549,9 +549,9 @@ ChoicePage::applyActionChoice( InstallChoice choice )
|
||||
this );
|
||||
}
|
||||
connect( m_beforePartitionBarsView->selectionModel(),
|
||||
SIGNAL( currentRowChanged( QModelIndex, QModelIndex ) ),
|
||||
&QItemSelectionModel::currentRowChanged,
|
||||
this,
|
||||
SLOT( onPartitionToReplaceSelected( QModelIndex, QModelIndex ) ),
|
||||
&ChoicePage::onPartitionToReplaceSelected,
|
||||
Qt::UniqueConnection );
|
||||
|
||||
// Maintain the selection for replace
|
||||
@ -582,9 +582,9 @@ ChoicePage::applyActionChoice( InstallChoice choice )
|
||||
}
|
||||
|
||||
connect( m_beforePartitionBarsView->selectionModel(),
|
||||
SIGNAL( currentRowChanged( QModelIndex, QModelIndex ) ),
|
||||
&QItemSelectionModel::currentRowChanged,
|
||||
this,
|
||||
SLOT( doAlongsideSetupSplitter( QModelIndex, QModelIndex ) ),
|
||||
&ChoicePage::doAlongsideSetupSplitter,
|
||||
Qt::UniqueConnection );
|
||||
break;
|
||||
case InstallChoice::NoChoice:
|
||||
|
Loading…
Reference in New Issue
Block a user