Compile without qt3support

This commit is contained in:
Yann Bodson 2011-05-16 14:09:05 +10:00
parent 12a43977ff
commit 9124339924
1 changed files with 1 additions and 1 deletions

View File

@ -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());