summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb/qdirectfbscreenplugin.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/qdirectfbscreenplugin.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/qdirectfbscreenplugin.cpp')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbscreenplugin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreenplugin.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbscreenplugin.cpp
index 4caee414..05fe70f 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbscreenplugin.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreenplugin.cpp
@@ -43,6 +43,7 @@
#include <QtGui/qscreendriverplugin_qws.h>
#include <QtCore/qstringlist.h>
+#ifndef QT_NO_QWS_DIRECTFB
class DirectFBScreenDriverPlugin : public QScreenDriverPlugin
{
@@ -73,3 +74,5 @@ QScreen* DirectFBScreenDriverPlugin::create(const QString& driver,
}
Q_EXPORT_PLUGIN2(qdirectfbscreen, DirectFBScreenDriverPlugin)
+
+#endif