summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqapplication_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tqapplication_x11.cpp')
-rw-r--r--src/kernel/tqapplication_x11.cpp7
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");