summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoGlobal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoGlobal.cpp')
-rw-r--r--lib/kofficecore/KoGlobal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kofficecore/KoGlobal.cpp b/lib/kofficecore/KoGlobal.cpp
index 53c9e4fe..57868746 100644
--- a/lib/kofficecore/KoGlobal.cpp
+++ b/lib/kofficecore/KoGlobal.cpp
@@ -64,7 +64,7 @@ KoGlobal::KoGlobal()
// Another way to get the DPI of the display would be TQPaintDeviceMetrics,
// but we have no widget here (and moving this to KoView wouldn't allow
// using this from the document easily).
-#ifdef TQ_WS_X11
+#ifdef Q_WS_X11
m_dpiX = TQPaintDevice::x11AppDpiX();
m_dpiY = TQPaintDevice::x11AppDpiY();
#else