summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliangqi <cavendish.qi@gmail.com>2011-07-22 14:19:44 +0200
committerQt by Nokia <qt-info@nokia.com>2011-07-22 14:59:08 +0200
commitbe76c09981eab137abda0e855aa0aa4e5d11a2e7 (patch)
tree9da1298d3317cdba14028b2b42955177a014d0f6
parent997b2a96c1aec1c7f35cd2228eba907f29a28f25 (diff)
Use QUuid::toByteArray() instead of QUuid::toString().toAscii()
This is a cheaper way. Change-Id: Ibfc67e0ac46a77e95b2ef32cd6f28c7409c42d63 Reviewed-on: http://codereview.qt.nokia.com/2037 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Liang Qi <liang.qi@nokia.com>
-rw-r--r--src/gui/text/qrawfont_ft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qrawfont_ft.cpp b/src/gui/text/qrawfont_ft.cpp
index d9225ff896..984efdbcef 100644
--- a/src/gui/text/qrawfont_ft.cpp
+++ b/src/gui/text/qrawfont_ft.cpp
@@ -88,7 +88,7 @@ public:
FaceId faceId;
faceId.filename = "";
faceId.index = 0;
- faceId.uuid = QUuid::createUuid().toString().toAscii();
+ faceId.uuid = QUuid::createUuid().toByteArray();
return init(faceId, true, Format_None, fontData);
}