diff options
author | Xavier Hallade <xavier.hallade@intel.com> | 2016-02-12 10:46:39 +0100 |
---|---|---|
committer | Xavier Hallade <xavier.hallade@intel.com> | 2016-02-12 10:46:39 +0100 |
commit | 61a58641089b07b23910c94c677e262388039fb9 (patch) | |
tree | 48fa2bdae749e5cfb831b902924ae46942f5b862 /tracker-rs/imagewidget.h | |
parent | 652bdad279f7769523d3c6faa609448028907256 (diff) |
tracker/rs: cleaned up preview widget setup and deletetion.
Diffstat (limited to 'tracker-rs/imagewidget.h')
-rw-r--r-- | tracker-rs/imagewidget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tracker-rs/imagewidget.h b/tracker-rs/imagewidget.h index 8f800058..e8b6e61e 100644 --- a/tracker-rs/imagewidget.h +++ b/tracker-rs/imagewidget.h @@ -9,6 +9,7 @@ #include <QWidget> #include <QImage> +#include <QMutex> class ImageWidget : public QWidget { Q_OBJECT @@ -18,7 +19,7 @@ public: private: QImage mImage; - uchar* mRawData; + QMutex mMutex; protected: void paintEvent(QPaintEvent* event); |