summaryrefslogtreecommitdiffstats
path: root/src/gvcore/thumbnailloadjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/thumbnailloadjob.cpp')
-rw-r--r--src/gvcore/thumbnailloadjob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gvcore/thumbnailloadjob.cpp b/src/gvcore/thumbnailloadjob.cpp
index f10889a..7969855 100644
--- a/src/gvcore/thumbnailloadjob.cpp
+++ b/src/gvcore/thumbnailloadjob.cpp
@@ -169,7 +169,7 @@ void ThumbnailThread::loadThumbnail() {
mImage=originalImage;
needCaching = false;
} else {
- mImage=ImageUtils::scale(originalImage,thumbSize,thumbSize,ImageUtils::SMOOTH_FAST,TQ_ScaleMin);
+ mImage=ImageUtils::scale(originalImage,thumbSize,thumbSize,ImageUtils::SMOOTH_FAST,TQImage::ScaleMin);
}
loaded = true;
}
@@ -741,7 +741,7 @@ void ThumbnailLoadJob::emitThumbnailLoaded(const TQImage& img, TQSize size) {
TQImage thumbImg;
if (biggestDimension>mThumbnailSize) {
// Scale down thumbnail if necessary
- thumbImg=ImageUtils::scale(img,mThumbnailSize, mThumbnailSize, ImageUtils::SMOOTH_FAST,TQ_ScaleMin);
+ thumbImg=ImageUtils::scale(img,mThumbnailSize, mThumbnailSize, ImageUtils::SMOOTH_FAST,TQImage::ScaleMin);
} else {
thumbImg=img;
}