diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:48:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-05 11:57:27 +0900 |
commit | 3849f5c32c10eba032a6738fd47331c0fa6afe1c (patch) | |
tree | 07e4f6637c48685d71eab82a57954de5e0bf3fef /kghostview | |
parent | 32a0eae8ca2e0fc901a389ac35eb788344d75275 (diff) | |
download | tdegraphics-3849f5c32c10eba032a6738fd47331c0fa6afe1c.tar.gz tdegraphics-3849f5c32c10eba032a6738fd47331c0fa6afe1c.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kghostview')
-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 ) |