summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.cpp
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-08-31 17:29:51 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-08-31 18:01:53 (GMT)
commitcef94ba96e4fd45506dff793accd8603765de7f4 (patch)
tree374db19c34946e469adce475fbc3a942b0d6c8f1 /src/plugins/gfxdrivers/directfb/qdirectfbpixmap.cpp
parentc35974f60cab2d74b399c92ece7ceb96c147ef8a (diff)
downloadQt-cef94ba96e4fd45506dff793accd8603765de7f4.zip
Qt-cef94ba96e4fd45506dff793accd8603765de7f4.tar.gz
Qt-cef94ba96e4fd45506dff793accd8603765de7f4.tar.bz2
Clean up directfb ifdefs
Make sure all files are wrapped in QT_NO_QWS_DIRECTFB Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbpixmap.cpp')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbpixmap.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.cpp
index e921d24..ee63842 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbpixmap.cpp
@@ -48,6 +48,8 @@
#include <QtCore/qfile.h>
#include <directfb.h>
+#ifndef QT_NO_QWS_DIRECTFB
+
QT_BEGIN_NAMESPACE
static int global_ser_no = 0;
@@ -578,4 +580,7 @@ void QDirectFBPixmapData::invalidate()
QT_END_NAMESPACE
+#endif // QT_NO_QWS_DIRECTFB
+
+