diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 34d94356f..8a1313237 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -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: