summaryrefslogtreecommitdiffstats
path: root/kuickshow/src/kuickimage.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:19 +0900
commit0e051a3c83fc5e121be7a0497c823ed9546157eb (patch)
tree4abc7ae86e2340444b68825ab42c091a5fc804fe /kuickshow/src/kuickimage.cpp
parent7b285cb0c78cdcc0391930b83bb83377db50b80d (diff)
downloadtdegraphics-0e051a3c83fc5e121be7a0497c823ed9546157eb.tar.gz
tdegraphics-0e051a3c83fc5e121be7a0497c823ed9546157eb.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kuickshow/src/kuickimage.cpp')
-rw-r--r--kuickshow/src/kuickimage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kuickshow/src/kuickimage.cpp b/kuickshow/src/kuickimage.cpp
index db8065f9..1c68bdab 100644
--- a/kuickshow/src/kuickimage.cpp
+++ b/kuickshow/src/kuickimage.cpp
@@ -213,8 +213,8 @@ bool KuickImage::smoothResize( int newWidth, int newHeight )
// tqDebug("-- smoothResize: %i x %i", newWidth, newHeight);
TQImage *image = newTQImage();
- // Note: TQ_ScaleMin seems to have a bug (off-by-one, sometimes results in width being 1 pixel too small)
- TQImage scaledImage = image->smoothScale(newWidth, newHeight, TQ_ScaleFree);
+ // Note: TQImage::ScaleMin seems to have a bug (off-by-one, sometimes results in width being 1 pixel too small)
+ TQImage scaledImage = image->smoothScale(newWidth, newHeight, TQImage::ScaleFree);
delete image;