diff options
| author | Peter Penz <[email protected]> | 2009-11-06 16:27:19 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-11-06 16:27:19 +0000 |
| commit | 8fbb88475517cb055617ba375c8f0747f6f646e7 (patch) | |
| tree | 239129817749d092d2f5803e156f9c8ede4fab7b /src/versioncontrol/updateitemstatesthread.h | |
| parent | 896ee459af10c73d20d0ae093b4c02348ffedb18 (diff) | |
Fixed issues when several LoadItemStatesThreads access one plugin or when the VersionControlObserver is deleted during thread execution.
svn path=/trunk/KDE/kdebase/apps/; revision=1045694
Diffstat (limited to 'src/versioncontrol/updateitemstatesthread.h')
| -rw-r--r-- | src/versioncontrol/updateitemstatesthread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/versioncontrol/updateitemstatesthread.h b/src/versioncontrol/updateitemstatesthread.h index 36768d0e9..bee5c02c0 100644 --- a/src/versioncontrol/updateitemstatesthread.h +++ b/src/versioncontrol/updateitemstatesthread.h @@ -38,7 +38,7 @@ class LIBDOLPHINPRIVATE_EXPORT UpdateItemStatesThread : public QThread Q_OBJECT public: - UpdateItemStatesThread(QObject* parent); + UpdateItemStatesThread(); virtual ~UpdateItemStatesThread(); void setData(KVersionControlPlugin* plugin, @@ -61,7 +61,7 @@ private slots: private: bool m_retrievedItems; KVersionControlPlugin* m_plugin; - QMutex m_mutex; + QMutex* m_mutex; QList<VersionControlObserver::ItemState> m_itemStates; }; |
