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