diff options
Diffstat (limited to 'src/fastscale/scale.cpp')
-rw-r--r-- | src/fastscale/scale.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastscale/scale.cpp b/src/fastscale/scale.cpp index d87717f..62e0661 100644 --- a/src/fastscale/scale.cpp +++ b/src/fastscale/scale.cpp @@ -1925,7 +1925,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(); |