summaryrefslogtreecommitdiffstats
path: root/src/kernel/qrichtext_p.h
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-03-19 05:56:36 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-04-03 09:02:22 +0900
commitf2504a8f49b5311070eff4245b87ee2f685ae28a (patch)
treebc8039e8a6afcc3f6aeaf26253ab770c2c3c638e /src/kernel/qrichtext_p.h
parentb000ed6ad6d2b02a3e8c84675ff1abfa3b3df6ce (diff)
downloadtqt-f2504a8f.tar.gz
tqt-f2504a8f.zip
Improve TQFont-related cleanup
Improve TQFont cleanup making sure that all instances of TQFont are destroyed before TQApplication (or specifically before disconnect from X11). This gets reed of several valgrind complains about leaks deep inside fontconfig. Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit ffbaaf0e1c181dd0f0d8ad7b273530f7cda086da)
Diffstat (limited to 'src/kernel/qrichtext_p.h')
-rw-r--r--src/kernel/qrichtext_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/qrichtext_p.h b/src/kernel/qrichtext_p.h
index df6b0a272..428b0ec5d 100644
--- a/src/kernel/qrichtext_p.h
+++ b/src/kernel/qrichtext_p.h
@@ -1561,6 +1561,7 @@ protected:
private:
void update();
static void applyFont( const TQFont &f );
+ static void cleanupPrivateData();
private:
TQFont fn;