summaryrefslogtreecommitdiffstats
path: root/plugins/infowidget
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-02 15:48:14 +0900
commitd56a6af0f49543e774f23ecfcffbd5bfc772d3c3 (patch)
tree46967176f997286308c17f181707b6d7c66c84ed /plugins/infowidget
parent904b29291b1e01033827e5deadda5ef3b7f05be4 (diff)
downloadktorrent-d56a6af0f49543e774f23ecfcffbd5bfc772d3c3.tar.gz
ktorrent-d56a6af0f49543e774f23ecfcffbd5bfc772d3c3.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'plugins/infowidget')
-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;