From 676000853b614b9063e38568e94833683bf05ccd Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Tue, 19 Mar 2024 05:56:36 +0300 Subject: 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 --- src/kernel/ntqobject.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel/ntqobject.h') diff --git a/src/kernel/ntqobject.h b/src/kernel/ntqobject.h index fc16c50bd..a2b12d4fa 100644 --- a/src/kernel/ntqobject.h +++ b/src/kernel/ntqobject.h @@ -145,6 +145,7 @@ public: TQStyleControlElementData* controlElementDataObject(); TQStyleControlElementDataPrivate* controlElementDataPrivateObject(); + void cleanupControlElementData(); #ifndef TQT_NO_PROPERTIES virtual bool setProperty( const char *name, const TQVariant& value ); -- cgit v1.2.1