diff options
Diffstat (limited to 'src/imageutils/scale.cpp')
-rw-r--r-- | src/imageutils/scale.cpp | 2 |
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(); |