From 91243399248394ab8889dafe4e25466c4422aff4 Mon Sep 17 00:00:00 2001 From: Yann Bodson Date: Mon, 16 May 2011 14:09:05 +1000 Subject: [PATCH] Compile without qt3support --- 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 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()); -- 1.7.2.5