summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-08-27 18:22:59 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-08-27 18:24:10 (GMT)
commitc723aeefe56ddcc2d661474f54a63dcdd5c0d6b2 (patch)
treeda98fb0da0379812b4b9242895831220fd5355b8 /src/plugins
parent81fc91183fd12cff512ac20ed265b6c0b44b2f30 (diff)
downloadQt-c723aeefe56ddcc2d661474f54a63dcdd5c0d6b2.zip
Qt-c723aeefe56ddcc2d661474f54a63dcdd5c0d6b2.tar.gz
Qt-c723aeefe56ddcc2d661474f54a63dcdd5c0d6b2.tar.bz2
Rearrange ifdefs
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h
index dafc478..f8c0aae 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h
@@ -95,9 +95,7 @@ private:
void createWindow();
IDirectFBWindow *dfbWindow;
QDirectFBWindowSurface *sibling;
-#endif
-
-#ifdef QT_NO_DIRECTFB_WM
+#else
enum Mode {
Primary,
Offscreen