summaryrefslogtreecommitdiffstats
path: root/src/imageutils/scale.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:46 -0600
commit676f6ed378c861a872de8cfce3dd5efe1780f769 (patch)
treed2b21aa5311322aadc3c5c64a4932fdf371acc98 /src/imageutils/scale.cpp
parent2b7143e0539396c75306f6e78bf0a5641ed1acfc (diff)
downloadgwenview-676f6ed378c861a872de8cfce3dd5efe1780f769.tar.gz
gwenview-676f6ed378c861a872de8cfce3dd5efe1780f769.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 2b7143e0539396c75306f6e78bf0a5641ed1acfc.
Diffstat (limited to 'src/imageutils/scale.cpp')
-rw-r--r--src/imageutils/scale.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imageutils/scale.cpp b/src/imageutils/scale.cpp
index 733dc1a..c8a70a7 100644
--- a/src/imageutils/scale.cpp
+++ b/src/imageutils/scale.cpp
@@ -1929,7 +1929,7 @@ TQImage scale(const TQImage& image, int width, int height,
if( image.isNull()) return image.copy();
TQSize newSize( image.size() );
- newSize.scale( TQSize( width, height ), (TQSize::ScaleMode)mode ); // ### remove cast in TQt 4.0
+ newSize.tqscale( TQSize( width, height ), (TQSize::ScaleMode)mode ); // ### remove cast in TQt 4.0
newSize = newSize.expandedTo( TQSize( 1, 1 )); // make sure it doesn't become null
if ( newSize == image.size() ) return image.copy();