┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/versioncontrol/updateitemstatesthread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/versioncontrol/updateitemstatesthread.cpp')
-rw-r--r--src/versioncontrol/updateitemstatesthread.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/versioncontrol/updateitemstatesthread.cpp b/src/versioncontrol/updateitemstatesthread.cpp
index 020cdb0d0..57c4481c3 100644
--- a/src/versioncontrol/updateitemstatesthread.cpp
+++ b/src/versioncontrol/updateitemstatesthread.cpp
@@ -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