Compile without qt3support
This commit is contained in:
parent
12a43977ff
commit
9124339924
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue