mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
And use it.
This commit is contained in:
parent
5df78cc513
commit
73be443e22
2 changed files with 7 additions and 2 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue