Commit d0eb9aa2 authored by Geoffroy Lacarriere's avatar Geoffroy Lacarriere

Fix to safe the inheritance of QThread in private

parent f39d958c
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#include "Image.h" #include "Image.h"
class Media : public QThread class Media : private QThread
{ {
Q_OBJECT Q_OBJECT
public: public:
...@@ -51,6 +51,7 @@ public: ...@@ -51,6 +51,7 @@ public:
QImage& getImage(); QImage& getImage();
void play(); void play();
private:
virtual void run(); virtual void run();
private: private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment