From c45e757cea9f459067dbf1ed4fa19ddda07308c8 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Tue, 17 Mar 2015 15:40:13 +0100 Subject: [PATCH] Good guy clang catches lousy code. CAL-212 #close Fixed. --- src/modules/partition/gui/EraseDiskPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() );