diff options
author | Michele Calgaro <[email protected]> | 2025-01-10 13:17:31 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-01-10 13:17:31 +0900 |
commit | ccd304b2a6415d8b747d04b3a47736d1e6f45717 (patch) | |
tree | b527d8b4ad438ebb1a96699d409e1cd5b9b368ea /src/kernel/tqapplication_x11.cpp | |
parent | 2b0ea37581b2fa4eba2b353d45dc134fbafe0b0f (diff) | |
download | tqt3-ccd304b2a6415d8b747d04b3a47736d1e6f45717.tar.gz tqt3-ccd304b2a6415d8b747d04b3a47736d1e6f45717.zip |
Drop code for obsolete FreeType 1
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kernel/tqapplication_x11.cpp')
-rw-r--r-- | src/kernel/tqapplication_x11.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/kernel/tqapplication_x11.cpp b/src/kernel/tqapplication_x11.cpp index f180f8b9a..fedeed789 100644 --- a/src/kernel/tqapplication_x11.cpp +++ b/src/kernel/tqapplication_x11.cpp @@ -2156,12 +2156,7 @@ void tqt_init_internal( int *argcptr, char **argv, #if !defined(TQT_NO_XFTFREETYPE) // defined in tqfont_x11.cpp extern bool tqt_has_xft; -#ifndef QT_XFT2 - if (!tqt_use_xrender) - tqt_has_xft = FALSE; - else -#endif - tqt_has_xft = XftInit(0) && XftInitFtLibrary(); + tqt_has_xft = XftInit(0) && XftInitFtLibrary(); if (tqt_has_xft) { char *dpi_str = XGetDefault(appDpy, "Xft", "dpi"); |