summaryrefslogtreecommitdiffstats
path: root/digikam/libs/jpegutils/jpegutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'digikam/libs/jpegutils/jpegutils.cpp')
-rw-r--r--digikam/libs/jpegutils/jpegutils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/digikam/libs/jpegutils/jpegutils.cpp b/digikam/libs/jpegutils/jpegutils.cpp
index 2db3402..2f2aabb 100644
--- a/digikam/libs/jpegutils/jpegutils.cpp
+++ b/digikam/libs/jpegutils/jpegutils.cpp
@@ -423,7 +423,7 @@ bool exifRotate(const TQString& file, const TQString& documentName)
metaData.setImageDimensions(img.size());
// Update the image thumbnail.
- TQImage thumb = img.scale(160, 120, TQ_ScaleMin);
+ TQImage thumb = img.scale(160, 120, TQImage::ScaleMin);
metaData.setExifThumbnail(thumb);
// Update Exif Document Name tag (the orinal file name from camera for example).
@@ -495,7 +495,7 @@ bool jpegConvert(const TQString& src, const TQString& dest, const TQString& docu
meta.setImagePreview(preview);
// Update Exif thumbnail.
- TQImage thumb = preview.smoothScale(160, 120, TQ_ScaleMin);
+ TQImage thumb = preview.smoothScale(160, 120, TQImage::ScaleMin);
meta.setExifThumbnail(thumb);
// Update Exif Document Name tag (the orinal file name from camera for example).