summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqt.h')
-rw-r--r--qtinterface/tqt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtinterface/tqt.h b/qtinterface/tqt.h
index 03c8a7c..207d04f 100644
--- a/qtinterface/tqt.h
+++ b/qtinterface/tqt.h
@@ -673,7 +673,8 @@ class QUObject;
#define TQNoBrush Qt::NoBrush
#define QMetaData QMetaMethod
-#define qt_xdisplay QPaintDevice::x11Display
+//#define qt_xdisplay QPaintDevice::x11Display
+#define qt_xdisplay QX11Info::display
#define qt_xrootwin QPaintDevice::x11AppRootWindow
#define qt_xscreen QPaintDevice::x11Screen
#define qt_xget_temp_gc QPaintDevice::qt_xget_temp_gc