summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-09-16 21:25:53 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-09-16 22:18:14 (GMT)
commitb0320ee05f8e5acabb82a8116d52a7d276798e9f (patch)
tree33279cddc8be356aefdc90a99af3ae36de29456a /src/plugins
parent8caa3209ddfd0cc7944b3935c212acd97fbdfc0d (diff)
downloadQt-b0320ee05f8e5acabb82a8116d52a7d276798e9f.zip
Qt-b0320ee05f8e5acabb82a8116d52a7d276798e9f.tar.gz
Qt-b0320ee05f8e5acabb82a8116d52a7d276798e9f.tar.bz2
Make QT_DIRECTFB_PALETTE an opt-in option
This seems not work correctly on quite a few boards so I'd rather have people turn it on explicitly. Reviewed-by: Noam Rosenthal <noam.rosenthal@nokia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbscreen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h
index febb2b2..5e8c5c6 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h
@@ -75,8 +75,8 @@ QT_MODULE(Gui)
#if !defined QT_DIRECTFB_WINDOW_AS_CURSOR && !defined QT_NO_DIRECTFB_WINDOW_AS_CURSOR
#define QT_NO_DIRECTFB_WINDOW_AS_CURSOR
#endif
-#if !defined QT_NO_DIRECTFB_PALETTE && !defined QT_DIRECTFB_PALETTE
-#define QT_DIRECTFB_PALETTE
+#if !defined QT_DIRECTFB_PALETTE && !defined QT_NO_DIRECTFB_PALETTE
+#define QT_NO_DIRECTFB_PALETTE
#endif
#if !defined QT_NO_DIRECTFB_PREALLOCATED && !defined QT_DIRECTFB_PREALLOCATED
#define QT_DIRECTFB_PREALLOCATED