From 7b525ca12009d79fe90020690a4e7f0716dc97c2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:50:12 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro (cherry picked from commit 04e50e547f8ed2d6db996bc4816179fa962bd6b1) --- lib/kofficecore/KoTemplates.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/kofficecore/KoTemplates.cpp') diff --git a/lib/kofficecore/KoTemplates.cpp b/lib/kofficecore/KoTemplates.cpp index 2d0ba529..7e86257b 100644 --- a/lib/kofficecore/KoTemplates.cpp +++ b/lib/kofficecore/KoTemplates.cpp @@ -61,7 +61,7 @@ const TQPixmap &KoTemplate::loadPicture( TDEInstance* instance ) { } const int maxHeightWidth = 128; // ### TODO: some people would surely like to have 128x128 if (img.width() > maxHeightWidth || img.height() > maxHeightWidth) { - img = img.smoothScale( maxHeightWidth, maxHeightWidth, TQ_ScaleMax ); + img = img.smoothScale( maxHeightWidth, maxHeightWidth, TQImage::ScaleMax ); } m_pixmap.convertFromImage(img); return m_pixmap; -- cgit v1.2.1