mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 17:35:37 -04:00
Pass current index by value.
This commit is contained in:
parent
aaf85407fb
commit
90bb64fb17
1 changed files with 1 additions and 1 deletions
|
@ -661,7 +661,7 @@ ChoicePage::doReplaceSelectedPartition( const QModelIndex& current )
|
||||||
// NOTE: using by-ref captures because we need to write homePartitionPath and
|
// NOTE: using by-ref captures because we need to write homePartitionPath and
|
||||||
// doReuseHomePartition *after* the device revert, for later use.
|
// doReuseHomePartition *after* the device revert, for later use.
|
||||||
ScanningDialog::run( QtConcurrent::run(
|
ScanningDialog::run( QtConcurrent::run(
|
||||||
[ this, ¤t, &homePartitionPath, &doReuseHomePartition ]
|
[ this, current, &homePartitionPath, &doReuseHomePartition ]
|
||||||
{
|
{
|
||||||
QMutexLocker locker( &m_coreMutex );
|
QMutexLocker locker( &m_coreMutex );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue