summaryrefslogtreecommitdiffstats
path: root/src/archive.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:49:34 +0900
committerMichele Calgaro <[email protected]>2023-09-02 15:49:34 +0900
commit5665df9602807d84c8de673a2b4101f2e3a9fd89 (patch)
treefedb01e31dc81d28355b82a5f1182f55b05bcbf3 /src/archive.cpp
parent809cae7dcd9211781f6671f121c552dc3d5061b3 (diff)
downloadbasket-5665df9602807d84c8de673a2b4101f2e3a9fd89.tar.gz
basket-5665df9602807d84c8de673a2b4101f2e3a9fd89.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/archive.cpp')
-rw-r--r--src/archive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/archive.cpp b/src/archive.cpp
index aec789f..bf40a59 100644
--- a/src/archive.cpp
+++ b/src/archive.cpp
@@ -136,7 +136,7 @@ void Archive::save(Basket *basket, bool withSubBaskets, const TQString &destinat
painter.end();
TQImage previewImage = previewPixmap.convertToImage();
const int PREVIEW_SIZE = 256;
- previewImage = previewImage.scale(PREVIEW_SIZE, PREVIEW_SIZE, TQ_ScaleMin);
+ previewImage = previewImage.scale(PREVIEW_SIZE, PREVIEW_SIZE, TQImage::ScaleMin);
previewImage.save(tempFolder + "preview.png", "PNG");
// Finaly Save to the Real Destination file: