diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-13 11:03:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-13 11:03:25 +0900 |
commit | 39ecff8fe9f78f3363caa0dd1bca64d68dd178b0 (patch) | |
tree | 8b19225a3fc036d91571a5540dd9b42017ef54d2 /lib/kotext/KoTextZoomHandler.cpp | |
parent | 359ccbfc2d68e78aa05da43e2b51f358f1d940b1 (diff) | |
download | koffice-39ecff8fe9f78f3363caa0dd1bca64d68dd178b0.tar.gz koffice-39ecff8fe9f78f3363caa0dd1bca64d68dd178b0.zip |
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kotext/KoTextZoomHandler.cpp')
-rw-r--r-- | lib/kotext/KoTextZoomHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 ; |