From d197a7e5319cb86ab3479c23828af226365d6049 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 24 Mar 2010 22:41:06 +0000 Subject: 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 --- src/versioncontrol/updateitemstatesthread.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '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 -- cgit v1.3