summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2009-08-21 06:31:45 (GMT)
committerJason Barron <jbarron@trolltech.com>2009-08-21 06:36:05 (GMT)
commit2e645960930442e895f887f1ef5e226d14eabcc7 (patch)
treec2b1586944d02e392cbc16251bbc232f5cf142a2 /src/gui/image
parent9093368f33ddc422047103a89effcd40338b4dbc (diff)
downloadQt-2e645960930442e895f887f1ef5e226d14eabcc7.zip
Qt-2e645960930442e895f887f1ef5e226d14eabcc7.tar.gz
Qt-2e645960930442e895f887f1ef5e226d14eabcc7.tar.bz2
More qpixmap*.cpp fixes for QExplicitlySharedDataPointer.
Hopefully this fixes the remaining issues.
Diffstat (limited to 'src/gui/image')
-rw-r--r--src/gui/image/qpixmap_mac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/image/qpixmap_mac.cpp b/src/gui/image/qpixmap_mac.cpp
index d1ec3d8..4aa74f7 100644
--- a/src/gui/image/qpixmap_mac.cpp
+++ b/src/gui/image/qpixmap_mac.cpp
@@ -1106,7 +1106,7 @@ void QMacPixmapData::copy(const QPixmapData *data, const QRect &rect)
return;
}
- const QMacPixmapData *macData = static_cast<const QMacPixmapData*>(data.constData());
+ const QMacPixmapData *macData = static_cast<const QMacPixmapData*>(data);
resize(rect.width(), rect.height());