┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/versioncontrol/updateitemstatesthread.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-03-24 22:41:06 +0000
committerPeter Penz <[email protected]>2010-03-24 22:41:06 +0000
commitd197a7e5319cb86ab3479c23828af226365d6049 (patch)
tree1943899cb51baa444d69cd6bcf5f62aea0f993ba /src/versioncontrol/updateitemstatesthread.cpp
parent884e95cc985ccf3a7d9de9ebe0d9b1bbd2d9e706 (diff)
Renamed methods and improved documentation, as in the previous patch the wrong mutex has been used accidently because of the confusing naming of the methods.
svn path=/trunk/KDE/kdebase/apps/; revision=1107136
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