summaryrefslogtreecommitdiffstats
path: root/tdeui/kpixmapregionselectorwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:53:29 +0900
committerMichele Calgaro <[email protected]>2023-09-02 15:53:29 +0900
commit1e5d5c92c374c8c950f01fa5aa916b3f722f98c1 (patch)
treef8538d6a34bf4683fdb8e2ed33923406b1659c09 /tdeui/kpixmapregionselectorwidget.cpp
parent34632650f1a323bdb5a0bbb0f504e3db70d87330 (diff)
downloadtdelibs-1e5d5c92c374c8c950f01fa5aa916b3f722f98c1.tar.gz
tdelibs-1e5d5c92c374c8c950f01fa5aa916b3f722f98c1.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeui/kpixmapregionselectorwidget.cpp')
-rw-r--r--tdeui/kpixmapregionselectorwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeui/kpixmapregionselectorwidget.cpp b/tdeui/kpixmapregionselectorwidget.cpp
index 7083dac72..0bc84e108 100644
--- a/tdeui/kpixmapregionselectorwidget.cpp
+++ b/tdeui/kpixmapregionselectorwidget.cpp
@@ -426,7 +426,7 @@ void KPixmapRegionSelectorWidget::setMaximumWidgetSize(int width, int height)
{
/* We have to resize the pixmap to get it complete on the screen */
TQImage image=m_originalPixmap.convertToImage();
- m_originalPixmap.convertFromImage( image.smoothScale( width, height, TQ_ScaleMin ) );
+ m_originalPixmap.convertFromImage( image.smoothScale( width, height, TQImage::ScaleMin ) );
double oldZoomFactor = m_zoomFactor;
m_zoomFactor=m_originalPixmap.width()/(double)m_unzoomedPixmap.width();