summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabien Freling <fabien.freling@nokia.com>2011-04-18 09:49:57 (GMT)
committerFabien Freling <fabien.freling@nokia.com>2011-04-18 09:50:54 (GMT)
commit3197fe2af911673c6291db0102e90a0d7f6ae926 (patch)
treeebe845d21996121ac38eac85f47a4d1d9a8c46c7 /src
parent4024a08239c3e69bb2e0ca045ccbdf3fc900f675 (diff)
downloadQt-3197fe2af911673c6291db0102e90a0d7f6ae926.zip
Qt-3197fe2af911673c6291db0102e90a0d7f6ae926.tar.gz
Qt-3197fe2af911673c6291db0102e90a0d7f6ae926.tar.bz2
Revert "Switch the default graphics system to raster on Mac."
This reverts commit a5d40fd3814ab7c8e865912c03a918bfd5994998. We have to fix the regressions due to the raster engine before putting it by default.
Diffstat (limited to 'src')
-rw-r--r--src/gui/painting/qgraphicssystemfactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qgraphicssystemfactory.cpp b/src/gui/painting/qgraphicssystemfactory.cpp
index 6212674..62a60d7 100644
--- a/src/gui/painting/qgraphicssystemfactory.cpp
+++ b/src/gui/painting/qgraphicssystemfactory.cpp
@@ -74,7 +74,7 @@ QGraphicsSystem *QGraphicsSystemFactory::create(const QString& key)
if (system.isEmpty()) {
system = QLatin1String("runtime");
}
-#elif defined (QT_GRAPHICSSYSTEM_RASTER) && !defined(Q_WS_WIN) && !defined(Q_OS_SYMBIAN) || defined(Q_WS_X11) || (defined (Q_WS_MAC) && defined(QT_MAC_USE_COCOA))
+#elif defined (QT_GRAPHICSSYSTEM_RASTER) && !defined(Q_WS_WIN) && !defined(Q_OS_SYMBIAN) || defined(Q_WS_X11)
if (system.isEmpty()) {
system = QLatin1String("raster");
}