diff options
Diffstat (limited to 'src/views/versioncontrol/updateitemstatesthread.h')
| -rw-r--r-- | src/views/versioncontrol/updateitemstatesthread.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/views/versioncontrol/updateitemstatesthread.h b/src/views/versioncontrol/updateitemstatesthread.h index 24f060d26..550436010 100644 --- a/src/views/versioncontrol/updateitemstatesthread.h +++ b/src/views/versioncontrol/updateitemstatesthread.h @@ -11,6 +11,7 @@ #include "views/versioncontrol/versioncontrolobserver.h" #include <QMutex> +#include <QPointer> #include <QThread> /** @@ -41,7 +42,7 @@ protected: private: QMutex *m_globalPluginMutex; // Protects the m_plugin globally - KVersionControlPlugin *m_plugin; + QPointer<KVersionControlPlugin> m_plugin; QMap<QString, QVector<VersionControlObserver::ItemState>> m_itemStates; }; |
