summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfont_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-12-03 14:55:40 +0100
committerLars Knoll <lars.knoll@qt.io>2018-12-07 10:17:07 +0000
commit70a5fc15fdff380eab3f136eba9992f1d2263957 (patch)
treec759a91cd4bd075ac7e560c82b5cc9188e322e63 /src/gui/text/qfont_p.h
parent6d38a1711c7e52c425101d57dd576c7015f39120 (diff)
Use a QMultiMap for the fontengine cache
Cosmetic, so we can avoid using QMap::insertMulti(). Change-Id: If7c971e127af0537dd28bd25f7803804e7e01170 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/gui/text/qfont_p.h')
-rw-r--r--src/gui/text/qfont_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qfont_p.h b/src/gui/text/qfont_p.h
index 09c18de5a6..14c01766ba 100644
--- a/src/gui/text/qfont_p.h
+++ b/src/gui/text/qfont_p.h
@@ -274,7 +274,7 @@ public:
uint hits;
};
- typedef QMap<Key,Engine> EngineCache;
+ typedef QMultiMap<Key,Engine> EngineCache;
EngineCache engineCache;
QHash<QFontEngine *, int> engineCacheCount;