summaryrefslogtreecommitdiffstats
path: root/plugins/infowidget/flagdb.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:48:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-03 22:35:32 +0900
commitcc3a167867f6b856f5ef243f0fe043d6baa302fa (patch)
treeb09a43266278edb7042bdb7b913f3fdb0e5385e7 /plugins/infowidget/flagdb.cpp
parent1d1e056329b94fd410c4ff99e508291dca8a5785 (diff)
downloadktorrent-cc3a1678.tar.gz
ktorrent-cc3a1678.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d56a6af0f49543e774f23ecfcffbd5bfc772d3c3)
Diffstat (limited to 'plugins/infowidget/flagdb.cpp')
-rw-r--r--plugins/infowidget/flagdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/infowidget/flagdb.cpp b/plugins/infowidget/flagdb.cpp
index c1e1fb4..63ce4c6 100644
--- a/plugins/infowidget/flagdb.cpp
+++ b/plugins/infowidget/flagdb.cpp
@@ -100,7 +100,7 @@ const TQPixmap& kt::FlagDB::getFlag(const TQString& country)
if (TQFile::exists(path)) {
if (img.load(path)) {
if (img.width() != preferredWidth || img.height() != preferredHeight) {
- const TQImage& imgScaled = img.smoothScale(preferredWidth, preferredHeight, TQ_ScaleMin);
+ const TQImage& imgScaled = img.smoothScale(preferredWidth, preferredHeight, TQImage::ScaleMin);
if (!imgScaled.isNull()) {
pixmap.convertFromImage(imgScaled);
break;