summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs/imagewidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-rs/imagewidget.h')
-rw-r--r--tracker-rs/imagewidget.h3
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);