summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qrawfont_ft.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-02 14:47:30 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-04 15:24:52 +0200
commit4ececbba5817445d59f66209fd48388f950673c5 (patch)
treee15551ebcb0a623d982c318061c28225552ae886 /src/gui/text/qrawfont_ft.cpp
parent0ec1b9d162dd1372bce789268251fe90b723f2ef (diff)
Allow the QPA plugin arguments to contain non-ASCII.
Who knows what we might need them for in the future? Change-Id: Ic68e04aea6cb26afb0ed98684bbb37a62c111638 Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
Diffstat (limited to 'src/gui/text/qrawfont_ft.cpp')
-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 b54a7a3ac3..959fb44606 100644
--- a/src/gui/text/qrawfont_ft.cpp
+++ b/src/gui/text/qrawfont_ft.cpp
@@ -63,7 +63,7 @@ public:
void updateFamilyNameAndStyle()
{
- fontDef.family = QString::fromAscii(freetype->face->family_name);
+ fontDef.family = QString::fromUtf8(freetype->face->family_name);
if (freetype->face->style_flags & FT_STYLE_FLAG_ITALIC)
fontDef.style = QFont::StyleItalic;