summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.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/qdirectfbwindowsurface.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/qdirectfbwindowsurface.cpp')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp
index 421fbc2..82c8a41 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp
@@ -48,6 +48,8 @@
#include <qpaintdevice.h>
#include <qvarlengtharray.h>
+#ifndef QT_NO_QWS_DIRECTFB
+
QT_BEGIN_NAMESPACE
QDirectFBWindowSurface::QDirectFBWindowSurface(DFBSurfaceFlipFlags flip, QDirectFBScreen *scr)
@@ -454,3 +456,6 @@ void QDirectFBWindowSurface::updateFormat()
QT_END_NAMESPACE
+#endif // QT_NO_QWS_DIRECTFB
+
+