mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
[partition] Modernize signal-slot connection
This commit is contained in:
parent
9d1fec3668
commit
903fed07a9
1 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue