diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-12-14 06:52:28 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-12-14 06:52:28 (GMT) |
commit | 087bfb51618e8a02a3fad263a963c3485d08294a (patch) | |
tree | fbd7e7520caea065f3638879b4028cad41399310 /src/declarative/util/qmlpixmapcache.cpp | |
parent | 33dd183f27967250a10da235b0269a7af14751e9 (diff) | |
download | Qt-087bfb51618e8a02a3fad263a963c3485d08294a.zip Qt-087bfb51618e8a02a3fad263a963c3485d08294a.tar.gz Qt-087bfb51618e8a02a3fad263a963c3485d08294a.tar.bz2 |
Don't rely on Qt3Support
Diffstat (limited to 'src/declarative/util/qmlpixmapcache.cpp')
-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; |