summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jabbercontact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/jabber/jabbercontact.cpp')
-rw-r--r--kopete/protocols/jabber/jabbercontact.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kopete/protocols/jabber/jabbercontact.cpp b/kopete/protocols/jabber/jabbercontact.cpp
index d5aadadb..54bc7f7e 100644
--- a/kopete/protocols/jabber/jabbercontact.cpp
+++ b/kopete/protocols/jabber/jabbercontact.cpp
@@ -732,7 +732,7 @@ void JabberContact::setPhoto( const TQString &photoPath )
TQString newLocation( locateLocal( "appdata", "jabberphotos/"+ KURL(photoPath).fileName().lower() ) );
// Scale and crop the picture.
- contactPhoto = contactPhoto.smoothScale( 96, 96, TQ_ScaleMin );
+ contactPhoto = contactPhoto.smoothScale( 96, 96, TQImage::ScaleMin );
// crop image if not square
if(contactPhoto.width() < contactPhoto.height())
contactPhoto = contactPhoto.copy((contactPhoto.width()-contactPhoto.height())/2, 0, 96, 96);
@@ -751,7 +751,7 @@ void JabberContact::setPhoto( const TQString &photoPath )
TQString newLocation( locateLocal( "appdata", "jabberphotos/"+ KURL(photoPath).fileName().lower() ) );
// Scale and crop the picture.
- contactPhoto = contactPhoto.smoothScale( 32, 32, TQ_ScaleMin );
+ contactPhoto = contactPhoto.smoothScale( 32, 32, TQImage::ScaleMin );
// crop image if not square
if(contactPhoto.width() < contactPhoto.height())
contactPhoto = contactPhoto.copy((contactPhoto.width()-contactPhoto.height())/2, 0, 32, 32);