From: Yann Bodson Date: Mon, 16 May 2011 04:09:05 +0000 (+1000) Subject: Compile without qt3support X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=91243399248394ab8889dafe4e25466c4422aff4;p=konrad%2Fqtdeclarative.git Compile without qt3support --- diff --git a/src/declarative/items/qsgcanvasitem.cpp b/src/declarative/items/qsgcanvasitem.cpp index f2eaf0d..ba3c4ba 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());