]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/versioncontrol/updateitemstatesthread.cpp
Fix issue that the columns "Link Destination" and "Path" are shown outside the visibl...
[dolphin.git] / src / versioncontrol / updateitemstatesthread.cpp
index 020cdb0d052b83c1545d3796918740888a5e3800..57c4481c3effddac224f466b5a2e69c3554ba668 100644 (file)
@@ -76,14 +76,14 @@ void UpdateItemStatesThread::run()
     }
 }
 
-bool UpdateItemStatesThread::beginReadItemStates()
+bool UpdateItemStatesThread::lockPlugin()
 {
-    return m_itemMutex.tryLock(300);
+    return m_globalPluginMutex->tryLock(300);
 }
 
-void UpdateItemStatesThread::endReadItemStates()
+void UpdateItemStatesThread::unlockPlugin()
 {
-    m_itemMutex.unlock();
+    m_globalPluginMutex->unlock();
 }
 
 QList<VersionControlObserver::ItemState> UpdateItemStatesThread::itemStates() const