diff options
author | Michele Calgaro <[email protected]> | 2023-12-03 00:48:24 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-05 11:58:00 +0900 |
commit | c9e40417ac00954826c50f8f6579639255c46476 (patch) | |
tree | 09214c65532ed685a0f1ead2dbb36da3536a9986 /kghostview/kpswidget.cpp | |
parent | 1fe6cb7fd446f44bb4d5d6074708c066eb1620b2 (diff) | |
download | tdegraphics-c9e40417ac00954826c50f8f6579639255c46476.tar.gz tdegraphics-c9e40417ac00954826c50f8f6579639255c46476.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 3849f5c32c10eba032a6738fd47331c0fa6afe1c)
Diffstat (limited to 'kghostview/kpswidget.cpp')
-rw-r--r-- | kghostview/kpswidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kghostview/kpswidget.cpp b/kghostview/kpswidget.cpp index cdce1dbb..b974bb41 100644 --- a/kghostview/kpswidget.cpp +++ b/kghostview/kpswidget.cpp @@ -279,8 +279,8 @@ void KPSWidget::setupWidget() Q_ASSERT( orientation() != CDSC_ORIENT_UNKNOWN ); - const float dpiX = _magnification * TQT_TQPAINTDEVICE(this)->x11AppDpiX(); - const float dpiY = _magnification * TQT_TQPAINTDEVICE(this)->x11AppDpiY(); + const float dpiX = _magnification * this->x11AppDpiX(); + const float dpiY = _magnification * this->x11AppDpiY(); int newWidth = 0, newHeight = 0; if( orientation() == CDSC_PORTRAIT || orientation() == CDSC_UPSIDEDOWN ) |