summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlpixmapcache.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-12-14 06:52:28 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-12-14 06:52:28 (GMT)
commit087bfb51618e8a02a3fad263a963c3485d08294a (patch)
treefbd7e7520caea065f3638879b4028cad41399310 /src/declarative/util/qmlpixmapcache.cpp
parent33dd183f27967250a10da235b0269a7af14751e9 (diff)
downloadQt-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.cpp5
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;