X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/884e95cc985ccf3a7d9de9ebe0d9b1bbd2d9e706..87cd992e85effd14938f67c0671ef2e7cb93a8a7:/src/versioncontrol/updateitemstatesthread.cpp 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 UpdateItemStatesThread::itemStates() const