diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:35:48 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:35:48 -0600 |
commit | 5183781c5dddd8447b308c24b2d7f9257bd0bcad (patch) | |
tree | f1fa64e82ce281c97cf602ba207460a5d38dcfdd /src/fastscale | |
parent | 09c863183250d07f82c0919e0a40fc7834c32192 (diff) | |
download | k3b-5183781c5dddd8447b308c24b2d7f9257bd0bcad.tar.gz k3b-5183781c5dddd8447b308c24b2d7f9257bd0bcad.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/fastscale')
-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(); |