From: Yann Bodson Date: Mon, 16 May 2011 04:09:05 +0000 (+1000) Subject: Compile without qt3support X-Git-Tag: qt-v5.0.0-alpha1~2170^2~104 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=91243399248394ab8889dafe4e25466c4422aff4;p=profile%2Fivi%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());