summaryrefslogtreecommitdiffstats
path: root/src/plugins/scenegraph/softwarecontext/imagenode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scenegraph/softwarecontext/imagenode.cpp')
-rw-r--r--src/plugins/scenegraph/softwarecontext/imagenode.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/scenegraph/softwarecontext/imagenode.cpp b/src/plugins/scenegraph/softwarecontext/imagenode.cpp
index c095a66..48304ec 100644
--- a/src/plugins/scenegraph/softwarecontext/imagenode.cpp
+++ b/src/plugins/scenegraph/softwarecontext/imagenode.cpp
@@ -34,6 +34,8 @@
#include <QPainter>
#include <qmath.h>
+QT_BEGIN_NAMESPACE
+
// Helper from widgets/styles/qdrawutil.cpp
namespace SoftwareContext {
@@ -489,3 +491,5 @@ const QPixmap &ImageNode::pixmap() const
qFatal("Image used with invalid texture format.");
}
}
+
+QT_END_NAMESPACE