┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/versioncontrol/updateitemstatesthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/versioncontrol/updateitemstatesthread.h')
-rw-r--r--src/versioncontrol/updateitemstatesthread.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/versioncontrol/updateitemstatesthread.h b/src/versioncontrol/updateitemstatesthread.h
index a687827c9..f99188014 100644
--- a/src/versioncontrol/updateitemstatesthread.h
+++ b/src/versioncontrol/updateitemstatesthread.h
@@ -54,9 +54,11 @@ protected:
virtual void run();
private:
- bool m_retrievedItems;
+ QMutex* m_globalPluginMutex; // Protects the m_plugin globally
KVersionControlPlugin* m_plugin;
- QMutex* m_mutex;
+
+ mutable QMutex m_itemMutex; // Protects m_retrievedItems and m_itemStates
+ bool m_retrievedItems;
QList<VersionControlObserver::ItemState> m_itemStates;
};