summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/transformed
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-10-19 11:55:38 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2009-10-29 16:00:10 (GMT)
commit6eb1faad9511dde6ab31b9a4f75fce0bdfbdc12c (patch)
treebdfea038c1d37340946c3986eb405f9ce48eae44 /src/plugins/gfxdrivers/transformed
parente55810dc838e95c60a275f1ea3be3bb6bb93fb83 (diff)
downloadQt-6eb1faad9511dde6ab31b9a4f75fce0bdfbdc12c.zip
Qt-6eb1faad9511dde6ab31b9a4f75fce0bdfbdc12c.tar.gz
Qt-6eb1faad9511dde6ab31b9a4f75fce0bdfbdc12c.tar.bz2
Fixed MENU and QWS_PROXYSCREEN
Reviewed-by: tom
Diffstat (limited to 'src/plugins/gfxdrivers/transformed')
-rw-r--r--src/plugins/gfxdrivers/transformed/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/transformed/main.cpp b/src/plugins/gfxdrivers/transformed/main.cpp
index 982882e..859fd49 100644
--- a/src/plugins/gfxdrivers/transformed/main.cpp
+++ b/src/plugins/gfxdrivers/transformed/main.cpp
@@ -68,9 +68,12 @@ QStringList GfxTransformedDriver::keys() const
QScreen* GfxTransformedDriver::create(const QString& driver, int displayId)
{
+#ifndef QT_NO_QWS_TRANSFORMED
if (driver.toLower() == "transformed")
return new QTransformedScreen(displayId);
-
+#else //QT_NO_QWS_TRANSFORMED
+ printf("QT buildt with QT_NO_QWS_TRANSFORMED. No screen driver returned\n");
+#endif //QT_NO_QWS_TRANSFORMED
return 0;
}