[partition] Modernize signal-slot connection

This commit is contained in:
Adriaan de Groot 2024-02-22 20:43:05 +01:00
parent 9d1fec3668
commit 903fed07a9

View File

@ -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: