summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfont.cpp
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2014-03-05 08:34:46 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-05 13:46:09 +0100
commite69284db08966cbe907df4b3cdc58fb9f9ee5dc4 (patch)
treebbbed3b731ffa5500b39480f4c62f1e8bd49c8cf /src/gui/text/qfont.cpp
parent34e560fc928d2b0fb78cff60f690f3094ec36ac0 (diff)
Get rid of QFontEngine::name()
It was only used in QFontCache debug output, and some engines weren't even report a name. Change-Id: I6cec4b75f105f5a4e1405f50188bebb3a3f04e33 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/gui/text/qfont.cpp')
-rw-r--r--src/gui/text/qfont.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/text/qfont.cpp b/src/gui/text/qfont.cpp
index 83f2d7190b..2e21a81187 100644
--- a/src/gui/text/qfont.cpp
+++ b/src/gui/text/qfont.cpp
@@ -2770,10 +2770,10 @@ void QFontCache::updateHitCountAndTimeStamp(Engine &value)
value.timestamp = ++current_timestamp;
FC_DEBUG("QFontCache: found font engine\n"
- " %p: timestamp %4u hits %3u ref %2d/%2d, type '%s'",
+ " %p: timestamp %4u hits %3u ref %2d/%2d, type %d",
value.data, value.timestamp, value.hits,
value.data->ref.load(), engineCacheCount.value(value.data),
- value.data->name());
+ value.data->type());
}
void QFontCache::insertEngine(const Key &key, QFontEngine *engine, bool insertMulti)
@@ -2969,10 +2969,10 @@ void QFontCache::timerEvent(QTimerEvent *)
it = jt;
if (it != end) {
- FC_DEBUG(" %p: timestamp %4u hits %2u ref %2d/%2d, type '%s'",
+ FC_DEBUG(" %p: timestamp %4u hits %2u ref %2d/%2d, type %d",
it.value().data, it.value().timestamp, it.value().hits,
it.value().data->ref.load(), engineCacheCount.value(it.value().data),
- it.value().data->name());
+ it.value().data->type());
QFontEngine *fontEngine = it.value().data;
// get rid of all occurrences