diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2024-03-19 05:56:36 +0300 |
---|---|---|
committer | Alexander Golubev <fatzer2@gmail.com> | 2024-03-29 22:17:15 +0300 |
commit | 1b951e5229a369d50cb05dfcb184d9b600169ed3 (patch) | |
tree | d8e30e4dc2a36795d55045220ec0912b6c2e0a34 /src/kernel | |
parent | ffbaaf0e1c181dd0f0d8ad7b273530f7cda086da (diff) | |
download | tqt3-1b951e5229a369d50cb05dfcb184d9b600169ed3.tar.gz tqt3-1b951e5229a369d50cb05dfcb184d9b600169ed3.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>
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/qapplication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/qapplication.cpp b/src/kernel/qapplication.cpp index 87d4fd7d0..45016b04c 100644 --- a/src/kernel/qapplication.cpp +++ b/src/kernel/qapplication.cpp @@ -1203,7 +1203,7 @@ TQApplication::~TQApplication() tqt_desktopWidget = 0; is_app_closing = TRUE; - // Due to hacks to spead up TQStyle engine (see git hash 523c1fd99) TQObjects now contain a + // Due to hacks to speed up TQStyle engine (see git hash 523c1fd99) TQObjects now contain a // reference to TQStyleControlElementData object which among other contain TQFont members. // But for a proper cleanup all fonts should be destroyed before disconnecting from X11 (in // tqt_cleanup()). So we will have to cleanup up the data explicitly. |