From 5f19e2c8f314f2b9cb3498faf782922a354c9c4d Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Thu, 27 Mar 2014 10:52:58 +0200 Subject: 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 --- src/gui/text/qfont_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }; -- cgit v1.2.3