summaryrefslogtreecommitdiffstats
path: root/kghostview/kpswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kghostview/kpswidget.cpp')
-rw-r--r--kghostview/kpswidget.cpp4
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 )