summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.cpp')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.cpp
index 44ce72b3..2bf1614 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbkeyboard.cpp
@@ -41,8 +41,6 @@
#include "qdirectfbkeyboard.h"
-#ifndef QT_NO_DIRECTFB
-
#include "qdirectfbscreen.h"
#include <qobject.h>
#include <qsocketnotifier.h>
@@ -53,6 +51,8 @@
#include <fcntl.h>
#include <errno.h>
+#ifndef QT_NO_QWS_DIRECTFB
+
QT_BEGIN_NAMESPACE
class KeyMap : public QHash<DFBInputDeviceKeySymbol, Qt::Key>
@@ -432,7 +432,5 @@ KeyMap::KeyMap()
}
QT_END_NAMESPACE
-
#include "qdirectfbkeyboard.moc"
-
-#endif // QT_NO_DIRECTFB
+#endif // QT_NO_QWS_DIRECTFB