diff options
-rw-r--r-- | src/declarative/util/qmlpixmapcache.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/declarative/util/qmlpixmapcache.cpp b/src/declarative/util/qmlpixmapcache.cpp index 85bf53c..0115a7c 100644 --- a/src/declarative/util/qmlpixmapcache.cpp +++ b/src/declarative/util/qmlpixmapcache.cpp @@ -55,7 +55,6 @@ #include <QThread> #include <QMutex> #include <QWaitCondition> -#include <QCustomEvent> #include <QtCore/qdebug.h> #include <private/qobject_p.h> @@ -91,10 +90,10 @@ private: bool quit; }; -class QmlImageDecodeEvent : public QCustomEvent +class QmlImageDecodeEvent : public QEvent { public: - QmlImageDecodeEvent(bool err, QImage &img) : QCustomEvent(QEvent::User), error(err), image(img) {} + QmlImageDecodeEvent(bool err, QImage &img) : QEvent(QEvent::User), error(err), image(img) {} bool error; QImage image; |