diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2011-05-16 14:09:05 +1000 |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2011-05-16 14:10:11 +1000 |
commit | 91243399248394ab8889dafe4e25466c4422aff4 (patch) | |
tree | 9bea464aa36c79c67197a2a654d15f4d429495ec /src/declarative/items | |
parent | 12a43977ffb2c023413417966d47616ad9a9aa78 (diff) |
Compile without qt3support
Diffstat (limited to 'src/declarative/items')
-rw-r--r-- | src/declarative/items/qsgcanvasitem.cpp | 2 |
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()); |