summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2014-03-27 10:52:58 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-31 17:27:47 +0200
commit5f19e2c8f314f2b9cb3498faf782922a354c9c4d (patch)
treed07890716087aaf4e3dc5c5eb49edd581bb53432 /src/gui
parent5dfe7b5fedf1f9a41ee97f62503e6802b8d7c05d (diff)
Fix QFontCache::Key comparison for custom font fallbacks case
Just a C&P typo, of course we have to compare lists, not their sizes. Change-Id: I40542035b87f5bb8d75207cb02c0826cc3a2a413 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/gui')
-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 b78d6692b4..4d8712e76e 100644
--- a/src/gui/text/qfont_p.h
+++ b/src/gui/text/qfont_p.h
@@ -251,7 +251,7 @@ public:
return script == other.script
&& screen == other.screen
&& multi == other.multi
- && (!multi || def.fallBackFamilies.size() == other.def.fallBackFamilies.size())
+ && (!multi || def.fallBackFamilies == other.def.fallBackFamilies)
&& def == other.def;
}
};