And use it.
This commit is contained in:
parent
5df78cc513
commit
73be443e22
@ -427,8 +427,11 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice )
|
||||
QMutexLocker locker( &m_coreMutex );
|
||||
m_core->revertDevice( selectedDevice() );
|
||||
|
||||
PartitionActions::doAutopartition( m_core, selectedDevice() );
|
||||
} ),
|
||||
[=]
|
||||
{
|
||||
PartitionActions::doAutopartition( m_core, selectedDevice() );
|
||||
},
|
||||
this );
|
||||
}
|
||||
|
||||
@ -444,6 +447,7 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice )
|
||||
QMutexLocker locker( &m_coreMutex );
|
||||
m_core->revertDevice( selectedDevice() );
|
||||
} ),
|
||||
[]{},
|
||||
this );
|
||||
}
|
||||
|
||||
@ -483,7 +487,7 @@ ChoicePage::doReplaceSelectedPartition( const QModelIndex& current,
|
||||
PartitionActions::doReplacePartition( m_core,
|
||||
selectedDevice(),
|
||||
partition );
|
||||
} ), this );
|
||||
} ), []{}, this );
|
||||
}
|
||||
|
||||
|
||||
|
@ -206,6 +206,7 @@ PartitionPage::onRevertClicked()
|
||||
m_ui->deviceComboBox->setCurrentIndex( oldIndex );
|
||||
updateFromCurrentDevice();
|
||||
} ),
|
||||
[]{},
|
||||
this );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user