summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-08-10 09:26:01 (GMT)
committerhjk <qtc-committer@nokia.com>2009-08-10 13:17:25 (GMT)
commit4fe7c464be95fbbcb663a21f9519024486123248 (patch)
treeb23117352eae6123e4cb8de90789baa55e7e2b6c /src/gui/image
parent2a1dcf7a47d81ad8b492c312dfd5e422ba2e3cd0 (diff)
downloadQt-4fe7c464be95fbbcb663a21f9519024486123248.zip
Qt-4fe7c464be95fbbcb663a21f9519024486123248.tar.gz
Qt-4fe7c464be95fbbcb663a21f9519024486123248.tar.bz2
Compile fix with namespaces
Diffstat (limited to 'src/gui/image')
-rw-r--r--src/gui/image/qimagepixmapcleanuphooks.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/image/qimagepixmapcleanuphooks.cpp b/src/gui/image/qimagepixmapcleanuphooks.cpp
index 7d1c5fb..789700a 100644
--- a/src/gui/image/qimagepixmapcleanuphooks.cpp
+++ b/src/gui/image/qimagepixmapcleanuphooks.cpp
@@ -43,6 +43,8 @@
#include "qpixmapdata_p.h"
+QT_BEGIN_NAMESPACE
+
// Legacy, single instance hooks: ### Qt 5: remove
typedef void (*_qt_pixmap_cleanup_hook)(int);
typedef void (*_qt_pixmap_cleanup_hook_64)(qint64);
@@ -108,3 +110,4 @@ void QImagePixmapCleanupHooks::executeImageHooks(qint64 key)
qt_image_cleanup_hook_64(key);
}
+QT_END_NAMESPACE