aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2011-05-16 14:09:05 +1000
committerYann Bodson <yann.bodson@nokia.com>2011-05-16 14:10:11 +1000
commit91243399248394ab8889dafe4e25466c4422aff4 (patch)
tree9bea464aa36c79c67197a2a654d15f4d429495ec /src/declarative/items
parent12a43977ffb2c023413417966d47616ad9a9aa78 (diff)
Compile without qt3support
Diffstat (limited to 'src/declarative/items')
-rw-r--r--src/declarative/items/qsgcanvasitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/items/qsgcanvasitem.cpp b/src/declarative/items/qsgcanvasitem.cpp
index f2eaf0d138..ba3c4baa11 100644
--- a/src/declarative/items/qsgcanvasitem.cpp
+++ b/src/declarative/items/qsgcanvasitem.cpp
@@ -155,7 +155,7 @@ QString QSGCanvasItem::toDataURL(const QString& mimeType) const
type = "PNG";
mime = QLatin1String("image/png");
}
- image.save(&buffer, type.ascii());
+ image.save(&buffer, type.toAscii());
buffer.close();
QString dataUrl = QLatin1String("data:%1;base64,%2");
return dataUrl.arg(mime).arg(ba.toBase64().constData());