diff options
author | aavit <qt-info@nokia.com> | 2011-02-25 08:46:35 (GMT) |
---|---|---|
committer | aavit <qt-info@nokia.com> | 2011-02-25 08:46:35 (GMT) |
commit | 52211876f610cf81c47f32bda6a271d9e9875bff (patch) | |
tree | d71abf8cf9e9144ee97c03c3cf980ee83b890f9c /src/gui | |
parent | 985738bcc2e690c4b02e132dce829768fab0ed76 (diff) | |
parent | b77fe44616237d992d87975c3fbb556a26dcf069 (diff) | |
download | Qt-52211876f610cf81c47f32bda6a271d9e9875bff.zip Qt-52211876f610cf81c47f32bda6a271d9e9875bff.tar.gz Qt-52211876f610cf81c47f32bda6a271d9e9875bff.tar.bz2 |
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-fire-team
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/text/qfontdatabase_x11.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gui/text/qfontdatabase_x11.cpp b/src/gui/text/qfontdatabase_x11.cpp index 2186058..f923d87 100644 --- a/src/gui/text/qfontdatabase_x11.cpp +++ b/src/gui/text/qfontdatabase_x11.cpp @@ -1972,17 +1972,6 @@ void QFontDatabase::load(const QFontPrivate *d, int script) #ifndef QT_NO_FONTCONFIG } else if (X11->has_fontconfig) { fe = loadFc(d, script, req); - if (fe != 0 && fe->fontDef.pixelSize != req.pixelSize && mainThread && qt_is_gui_used) { - QFontEngine *xlfdFontEngine = loadXlfd(d->screen, script, req); - if (xlfdFontEngine->fontDef.family == fe->fontDef.family) { - delete fe; - fe = xlfdFontEngine; - } else { - delete xlfdFontEngine; - } - } - - #endif } else if (mainThread && qt_is_gui_used) { fe = loadXlfd(d->screen, script, req); |