summaryrefslogtreecommitdiffstats
path: root/libtdepim/kpixmapregionselectorwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:54:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-04 10:33:10 +0900
commit91d0481e3bd0d37fa1a746b117fe04fff8221164 (patch)
tree07b9c448d5a66a07bd1ee71bd838373044c3d3a5 /libtdepim/kpixmapregionselectorwidget.cpp
parentc5f2c57c55beb8d9ac2b5596bb7d75601ed9d2af (diff)
downloadtdepim-91d0481e3bd0d37fa1a746b117fe04fff8221164.tar.gz
tdepim-91d0481e3bd0d37fa1a746b117fe04fff8221164.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 84129a6fadb049acceb743bd6cf1dea0c513522a)
Diffstat (limited to 'libtdepim/kpixmapregionselectorwidget.cpp')
-rw-r--r--libtdepim/kpixmapregionselectorwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtdepim/kpixmapregionselectorwidget.cpp b/libtdepim/kpixmapregionselectorwidget.cpp
index fa93fe3d5..b407ea6e3 100644
--- a/libtdepim/kpixmapregionselectorwidget.cpp
+++ b/libtdepim/kpixmapregionselectorwidget.cpp
@@ -429,7 +429,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 ) );
//m_originalPixmap.convertFromImage( KImageEffect::sample( image, width, height ) );
double oldZoomFactor = m_zoomFactor;
m_zoomFactor=m_originalPixmap.width()/(double)m_unzoomedPixmap.width();