diff --git a/src/modules/partition/gui/EraseDiskPage.cpp b/src/modules/partition/gui/EraseDiskPage.cpp index 72920f0d3..03bd16902 100644 --- a/src/modules/partition/gui/EraseDiskPage.cpp +++ b/src/modules/partition/gui/EraseDiskPage.cpp @@ -200,7 +200,7 @@ EraseDiskPage::doAutopartition( Device* dev ) void EraseDiskPage::updatePreviews() { - QMutexLocker( &EraseDiskPage::m_previewsMutex ); + QMutexLocker locker( &m_previewsMutex ); cDebug() << "Updating partitioning preview widgets."; qDeleteAll( m_previewFrame->children() );