summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-09-05 00:12:54 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-09-05 00:12:54 (GMT)
commita522568283195cd4b851b190d249d33e25489642 (patch)
tree25553db259f88cf71d3002b965f1e4c4f9694288
parent74fa44ad0241a6c30cf9145a85e6067a6414aba6 (diff)
downloadQt-a522568283195cd4b851b190d249d33e25489642.zip
Qt-a522568283195cd4b851b190d249d33e25489642.tar.gz
Qt-a522568283195cd4b851b190d249d33e25489642.tar.bz2
Fixed compile for S60.
Q_DECLARE_METATYPE must appear before qRegisterMetaType.
-rw-r--r--src/gui/painting/qpaintbuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpaintbuffer.cpp b/src/gui/painting/qpaintbuffer.cpp
index f9cb108..4d8b8c9 100644
--- a/src/gui/painting/qpaintbuffer.cpp
+++ b/src/gui/painting/qpaintbuffer.cpp
@@ -1740,6 +1740,7 @@ struct QPaintBufferCacheEntry
QVariant::Type type;
quint64 cacheKey;
};
+Q_DECLARE_METATYPE(QPaintBufferCacheEntry);
QDataStream &operator<<(QDataStream &stream, const QPaintBufferCacheEntry &entry)
{
@@ -1759,7 +1760,6 @@ static int qRegisterPaintBufferMetaTypes()
return 0; // something
}
-Q_DECLARE_METATYPE(QPaintBufferCacheEntry);
Q_CONSTRUCTOR_FUNCTION(qRegisterPaintBufferMetaTypes)
QDataStream &operator<<(QDataStream &stream, const QPaintBuffer &buffer)