From a50710e67a198aa583d1d8cdf73b6fd9c59900e2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 13 Feb 2024 11:03:25 +0900 Subject: Replace Q_WS_* defines with TQ_WS_* equivalents Signed-off-by: Michele Calgaro (cherry picked from commit 39ecff8fe9f78f3363caa0dd1bca64d68dd178b0) --- lib/kotext/KoTextZoomHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/kotext') diff --git a/lib/kotext/KoTextZoomHandler.cpp b/lib/kotext/KoTextZoomHandler.cpp index e9fc430fa..1b6c4bdf2 100644 --- a/lib/kotext/KoTextZoomHandler.cpp +++ b/lib/kotext/KoTextZoomHandler.cpp @@ -40,7 +40,7 @@ double KoTextZoomHandler::layoutUnitToFontSize( int luSize, bool /*forPrint*/ ) { // TQt will use TQPaintDevice::x11AppDpiY() to go from pt to pixel for fonts return layoutUnitPtToPt( luSize ) * m_zoomedResolutionY -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 / POINT_TO_INCH(TQPaintDevice::x11AppDpiY()) #endif ; -- cgit v1.2.3