diff options
author | Harald Fernengel <harald@trolltech.com> | 2009-08-21 08:09:22 (GMT) |
---|---|---|
committer | Harald Fernengel <harald@trolltech.com> | 2009-08-21 08:09:22 (GMT) |
commit | a44894a39113e0eb9d4f7c912eee4671b3f391c1 (patch) | |
tree | 3cc1be55d2e75ee6cb9b2cbd2d01347531f7a23f /src/gui/painting/qpaintdevice_mac.cpp | |
parent | deff84b66642563fa93ec01c14934289945e2912 (diff) | |
download | Qt-a44894a39113e0eb9d4f7c912eee4671b3f391c1.zip Qt-a44894a39113e0eb9d4f7c912eee4671b3f391c1.tar.gz Qt-a44894a39113e0eb9d4f7c912eee4671b3f391c1.tar.bz2 |
compile again after QESDP fix
Diffstat (limited to 'src/gui/painting/qpaintdevice_mac.cpp')
-rw-r--r-- | src/gui/painting/qpaintdevice_mac.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpaintdevice_mac.cpp b/src/gui/painting/qpaintdevice_mac.cpp index aa7c2ac..51d52a2 100644 --- a/src/gui/painting/qpaintdevice_mac.cpp +++ b/src/gui/painting/qpaintdevice_mac.cpp @@ -123,7 +123,7 @@ Q_GUI_EXPORT CGContextRef qt_mac_cg_context(const QPaintDevice *pdev) // It would make sense to put this into a mac #ifdef'ed // virtual function in the QPixmapData at some point if (pm->data->classId() == QPixmapData::MacClass) { - const QMacPixmapData *pmData = static_cast<const QMacPixmapData*>(pm->data); + const QMacPixmapData *pmData = static_cast<const QMacPixmapData*>(pm->data.data()); ret = CGBitmapContextCreate(pmData->pixels, pmData->w, pmData->h, 8, pmData->bytesPerRow, colorspace, flags); |