summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/icq
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:48:48 +0900
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2023-12-05 03:06:55 +0000
commit6d077d06067369f2060c1b011687941e84ece7c4 (patch)
tree19cccd2c9d0456e7606f5574e943ca7c51aaec5f /kopete/protocols/oscar/icq
parent15fd0d5c8e0d1c0eaf21b8794d9a14b706d8325b (diff)
downloadtdenetwork-6d077d06067369f2060c1b011687941e84ece7c4.tar.gz
tdenetwork-6d077d06067369f2060c1b011687941e84ece7c4.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kopete/protocols/oscar/icq')
-rw-r--r--kopete/protocols/oscar/icq/icqaccount.cpp2
-rw-r--r--kopete/protocols/oscar/icq/icqcontact.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kopete/protocols/oscar/icq/icqaccount.cpp b/kopete/protocols/oscar/icq/icqaccount.cpp
index 784c8183..f5c6b9ea 100644
--- a/kopete/protocols/oscar/icq/icqaccount.cpp
+++ b/kopete/protocols/oscar/icq/icqaccount.cpp
@@ -457,7 +457,7 @@ void ICQAccount::slotBuddyIconChanged()
iconFile.open( IO_ReadOnly );
KMD5 iconHash;
- iconHash.update( *TQT_TQIODEVICE(&iconFile) );
+ iconHash.update( iconFile );
kdDebug(14153) << k_funcinfo << "hash is :" << iconHash.hexDigest() << endl;
//find old item, create updated item
diff --git a/kopete/protocols/oscar/icq/icqcontact.cpp b/kopete/protocols/oscar/icq/icqcontact.cpp
index dd651a11..01c0e43d 100644
--- a/kopete/protocols/oscar/icq/icqcontact.cpp
+++ b/kopete/protocols/oscar/icq/icqcontact.cpp
@@ -503,7 +503,7 @@ bool ICQContact::cachedBuddyIcon( TQByteArray hash )
return false;
KMD5 buddyIconHash;
- buddyIconHash.update( *TQT_TQIODEVICE(&iconFile) );
+ buddyIconHash.update( iconFile );
iconFile.close();
if ( memcmp( buddyIconHash.rawDigest(), hash.data(), 16 ) == 0 )