summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/ui
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:53:50 +0900
committerMichele Calgaro <[email protected]>2023-09-04 10:31:40 +0900
commit203566f83535401b5013d37c4e319b1278a4d650 (patch)
treeaeeac7a86d9225fc54cc8c8c73df440fb9ba1ab5 /kopete/protocols/jabber/ui
parentc613d3df31b003c077f524cd7184590339b0c04d (diff)
downloadtdenetwork-203566f83535401b5013d37c4e319b1278a4d650.tar.gz
tdenetwork-203566f83535401b5013d37c4e319b1278a4d650.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit d37705184967f236c728938b2824abbed628ce26)
Diffstat (limited to 'kopete/protocols/jabber/ui')
-rw-r--r--kopete/protocols/jabber/ui/dlgjabbervcard.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kopete/protocols/jabber/ui/dlgjabbervcard.cpp b/kopete/protocols/jabber/ui/dlgjabbervcard.cpp
index 58e92af7..3f12b2f5 100644
--- a/kopete/protocols/jabber/ui/dlgjabbervcard.cpp
+++ b/kopete/protocols/jabber/ui/dlgjabbervcard.cpp
@@ -493,7 +493,7 @@ void dlgJabberVCard::slotSelectPhoto()
if(img.width() > 96 || img.height() > 96)
{
// Scale and crop the picture.
- img = img.smoothScale( 96, 96, TQ_ScaleMin );
+ img = img.smoothScale( 96, 96, TQImage::ScaleMin );
// crop image if not square
if(img.width() < img.height())
img = img.copy((img.width()-img.height())/2, 0, 96, 96);
@@ -504,7 +504,7 @@ void dlgJabberVCard::slotSelectPhoto()
else if (img.width() < 32 || img.height() < 32)
{
// Scale and crop the picture.
- img = img.smoothScale( 32, 32, TQ_ScaleMin );
+ img = img.smoothScale( 32, 32, TQImage::ScaleMin );
// crop image if not square
if(img.width() < img.height())
img = img.copy((img.width()-img.height())/2, 0, 32, 32);