summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qunifiedtoolbarsurface_mac.cpp
diff options
context:
space:
mode:
authorFabien Freling <fabien.freling@nokia.com>2010-10-19 11:36:13 (GMT)
committerFabien Freling <fabien.freling@nokia.com>2010-10-19 11:36:13 (GMT)
commitea614c822c0075b939cc8a56bbc53aaf9c68228d (patch)
tree4d23f2baffccea594662c5569351eda3ad93b6a7 /src/gui/painting/qunifiedtoolbarsurface_mac.cpp
parent7be892eaeff8aad62b5e7ae2300322c9c1a5420e (diff)
downloadQt-ea614c822c0075b939cc8a56bbc53aaf9c68228d.zip
Qt-ea614c822c0075b939cc8a56bbc53aaf9c68228d.tar.gz
Qt-ea614c822c0075b939cc8a56bbc53aaf9c68228d.tar.bz2
Enable the unified toolbar with the raster
engine only in the Cocoa port. Reviewed-by: Tor Arne Vestbø
Diffstat (limited to 'src/gui/painting/qunifiedtoolbarsurface_mac.cpp')
-rw-r--r--src/gui/painting/qunifiedtoolbarsurface_mac.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/painting/qunifiedtoolbarsurface_mac.cpp b/src/gui/painting/qunifiedtoolbarsurface_mac.cpp
index 722355e..b90b061 100644
--- a/src/gui/painting/qunifiedtoolbarsurface_mac.cpp
+++ b/src/gui/painting/qunifiedtoolbarsurface_mac.cpp
@@ -39,6 +39,8 @@
**
****************************************************************************/
+#ifdef QT_MAC_USE_COCOA
+
#include "qunifiedtoolbarsurface_mac_p.h"
#include <private/qt_cocoa_helpers_mac_p.h>
#include <private/qbackingstore_p.h>
@@ -231,3 +233,5 @@ void QUnifiedToolbarSurface::prepareBuffer(QImage::Format format, QWidget *widge
}
QT_END_NAMESPACE
+
+#endif // QT_MAC_USE_COCOA