summaryrefslogtreecommitdiffstats
path: root/src/imageutils/scale.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:39 -0600
commiteba1d381626d92b860239417f21d813f02ee6394 (patch)
treea1d29560015d98b2ad5aa047f919b8a81e0e9c4b /src/imageutils/scale.cpp
parentd0bdd0d7a768f9935b521f3bd12a4cd72739b96f (diff)
downloadgwenview-eba1d381626d92b860239417f21d813f02ee6394.tar.gz
gwenview-eba1d381626d92b860239417f21d813f02ee6394.zip
Remove additional unneeded tq method conversions
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 c8a70a7..733dc1a 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.tqscale( TQSize( width, height ), (TQSize::ScaleMode)mode ); // ### remove cast in TQt 4.0
+ newSize.scale( 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();