mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
[partition] Apply newer formatting tool
This commit is contained in:
parent
3b9c0bdf91
commit
2b4bc7adf4
1 changed files with 52 additions and 47 deletions
|
@ -360,7 +360,8 @@ ChoicePage::applyDeviceChoice()
|
|||
|
||||
if ( m_core->isDirty() )
|
||||
{
|
||||
ScanningDialog::run( QtConcurrent::run( [=] {
|
||||
ScanningDialog::run(
|
||||
QtConcurrent::run( [=] {
|
||||
QMutexLocker locker( &m_coreMutex );
|
||||
m_core->revertAllDevices();
|
||||
} ),
|
||||
|
@ -452,7 +453,8 @@ ChoicePage::applyActionChoice( InstallChoice choice )
|
|||
|
||||
if ( m_core->isDirty() )
|
||||
{
|
||||
ScanningDialog::run( QtConcurrent::run( [=] {
|
||||
ScanningDialog::run(
|
||||
QtConcurrent::run( [=] {
|
||||
QMutexLocker locker( &m_coreMutex );
|
||||
m_core->revertDevice( selectedDevice() );
|
||||
} ),
|
||||
|
@ -472,7 +474,8 @@ ChoicePage::applyActionChoice( InstallChoice choice )
|
|||
case InstallChoice::Replace:
|
||||
if ( m_core->isDirty() )
|
||||
{
|
||||
ScanningDialog::run( QtConcurrent::run( [=] {
|
||||
ScanningDialog::run(
|
||||
QtConcurrent::run( [=] {
|
||||
QMutexLocker locker( &m_coreMutex );
|
||||
m_core->revertDevice( selectedDevice() );
|
||||
} ),
|
||||
|
@ -491,7 +494,8 @@ ChoicePage::applyActionChoice( InstallChoice choice )
|
|||
case InstallChoice::Alongside:
|
||||
if ( m_core->isDirty() )
|
||||
{
|
||||
ScanningDialog::run( QtConcurrent::run( [=] {
|
||||
ScanningDialog::run(
|
||||
QtConcurrent::run( [=] {
|
||||
QMutexLocker locker( &m_coreMutex );
|
||||
m_core->revertDevice( selectedDevice() );
|
||||
} ),
|
||||
|
@ -1033,7 +1037,8 @@ ChoicePage::updateActionChoicePreview( InstallChoice choice )
|
|||
Calamares::restoreSelectedBootLoader( *m_bootloaderComboBox, m_core->bootLoaderInstallPath() );
|
||||
}
|
||||
} );
|
||||
connect( m_core,
|
||||
connect(
|
||||
m_core,
|
||||
&PartitionCoreModule::deviceReverted,
|
||||
this,
|
||||
[this]( Device* dev ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue