|
|
|
@ -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;
|
|
|
|
|
}
|
|
|
|
|