projects
/
konrad/qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
12a4397
)
Compile without qt3support
author
Yann Bodson
<yann.bodson@nokia.com>
Mon, 16 May 2011 04:09:05 +0000 (14:09 +1000)
committer
Yann Bodson
<yann.bodson@nokia.com>
Mon, 16 May 2011 04:10:11 +0000 (14:10 +1000)
src/declarative/items/qsgcanvasitem.cpp
patch
|
blob
|
history
diff --git
a/src/declarative/items/qsgcanvasitem.cpp
b/src/declarative/items/qsgcanvasitem.cpp
index
f2eaf0d
..
ba3c4ba
100644
(file)
--- 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());