diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-08-12 08:34:40 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-08-17 11:56:12 (GMT) |
commit | b80312254e61986e6848d1608dcac54e0b3f191a (patch) | |
tree | fb5519e6dc2a9b02e8c8ab1e5a02c4c41a2f7f9c /src/gui/image/qpixmap_mac.cpp | |
parent | 3d50220423b96a84f1ca4c0f5ef9246345aad359 (diff) | |
download | Qt-b80312254e61986e6848d1608dcac54e0b3f191a.zip Qt-b80312254e61986e6848d1608dcac54e0b3f191a.tar.gz Qt-b80312254e61986e6848d1608dcac54e0b3f191a.tar.bz2 |
remove QT_RASTER_PAINTENGINE and QT_RASTER_IMAGEENGINE defines as they are
legacy and completely pointless...
Reviewed-By: Eskil
Diffstat (limited to 'src/gui/image/qpixmap_mac.cpp')
-rw-r--r-- | src/gui/image/qpixmap_mac.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gui/image/qpixmap_mac.cpp b/src/gui/image/qpixmap_mac.cpp index 8c911bb..5959da1 100644 --- a/src/gui/image/qpixmap_mac.cpp +++ b/src/gui/image/qpixmap_mac.cpp @@ -38,7 +38,6 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ -//#define QT_RASTER_PAINTENGINE #include "qpixmap.h" #include "qimage.h" @@ -52,9 +51,6 @@ #include <private/qdrawhelper_p.h> #include <private/qpixmap_mac_p.h> #include <private/qpixmap_raster_p.h> -#ifdef QT_RASTER_PAINTENGINE -# include <private/qpaintengine_raster_p.h> -#endif #include <private/qpaintengine_mac_p.h> #include <private/qt_mac_p.h> #include <private/qt_cocoa_helpers_mac_p.h> @@ -1098,14 +1094,7 @@ QPaintEngine* QMacPixmapData::paintEngine() const { if (!pengine) { QMacPixmapData *that = const_cast<QMacPixmapData*>(this); -#ifdef QT_RASTER_PAINTENGINE - if (qgetenv("QT_MAC_USE_COREGRAPHICS").isNull()) - that->pengine = new QRasterPaintEngine(); - else - that->pengine = new QCoreGraphicsPaintEngine(); -#else that->pengine = new QCoreGraphicsPaintEngine(); -#endif } return pengine; } |