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>
bb10
Konstantin Ritt 2014-03-27 10:52:58 +02:00 committed by The Qt Project
parent 5dfe7b5fed
commit 5f19e2c8f3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
};