qt5base-lts/tests/auto
Konstantin Ritt 36cb3f3f65 Fix the font engines leaking
1. when there were some engines with ref > 1 in the cache, prior to calling
   QFontDatabase::{add,remove}ApplicationFont()/removeAllApplicationFonts()
   (QFontCache::clear() has never decreased engine's cache_count);
2. when the QFontEngineData's engine is not in cache i.e. the Box or Test font engine
   (~QFontEngineData() didn't free engines it keeps).

Instead of using the font engine's (external) "cache_count" counter,
QFontCache now references a given font engine every time it is inserted to
the cache and dereferences exactly that number of times in clear().

Change-Id: I87677ebd24c1f4a81a53526f2e726e596b043c61
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2013-03-20 07:02:29 +01:00
..
android Add missing license header 2013-03-05 08:31:23 +01:00
bic/data Make qaccessible2.h internal. 2013-03-14 19:49:38 +01:00
cmake Test the OpenGLExtensions cmake module. 2013-03-14 16:38:57 +01:00
compilerwarnings/data Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
concurrent Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
corelib Support connection to functor with multiple operator() 2013-03-19 23:16:38 +01:00
dbus Fix wildcard signal disconnection in QDBusAbstractInterface 2013-03-19 07:03:25 +01:00
gui Fix the font engines leaking 2013-03-20 07:02:29 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
opengl Merge remote-tracking branch 'origin/stable' into dev 2013-03-05 13:42:11 +01:00
other Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
printsupport Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
shared Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
sql Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
testlib Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
tools Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
widgets Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
xml Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
auto.pro Check for printsupport module when building according auto tests 2013-02-19 19:20:58 +01:00
network-settings.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtest-config.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
test.pl Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00