summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/packetwriter.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:39:49 -0600
committerSlávek Banko <[email protected]>2012-06-06 03:48:48 +0200
commit161e93feae40489201edee480db6802a9a61b0a4 (patch)
tree77e3e4aeae8d388ac7a7f5d1f0a8cf67045ee4a8 /libktorrent/torrent/packetwriter.cpp
parent1d7c126b63cbc97bba847f61e7c9ee89b80a390c (diff)
downloadktorrent-161e93feae40489201edee480db6802a9a61b0a4.tar.gz
ktorrent-161e93feae40489201edee480db6802a9a61b0a4.zip
Remove additional unneeded tq method conversions
(cherry picked from commit bb37c4052a9edfff2196984cef241b1ce2df7bb3)
Diffstat (limited to 'libktorrent/torrent/packetwriter.cpp')
-rw-r--r--libktorrent/torrent/packetwriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libktorrent/torrent/packetwriter.cpp b/libktorrent/torrent/packetwriter.cpp
index 6c186dc..21d26cf 100644
--- a/libktorrent/torrent/packetwriter.cpp
+++ b/libktorrent/torrent/packetwriter.cpp
@@ -195,7 +195,7 @@ namespace bt
else
{
/* Out(SYS_CON|LOG_DEBUG) << TQString("Uploading %1 %2 %3 %4 %5")
- .tqarg(index).tqarg(begin).tqarg(len).tqarg((TQ_ULLONG)ch,0,16).tqarg((TQ_ULLONG)ch->getData(),0,16)
+ .arg(index).arg(begin).arg(len).arg((TQ_ULLONG)ch,0,16).arg((TQ_ULLONG)ch->getData(),0,16)
<< endl;;
*/
queuePacket(new Packet(index,begin,len,ch));
@@ -218,7 +218,7 @@ namespace bt
enc.write(TQString("p"));
enc.write((Uint32)port);
}
- enc.write(TQString("v")); enc.write(TQString("KTorrent %1").tqarg(kt::VERSION_STRING));
+ enc.write(TQString("v")); enc.write(TQString("KTorrent %1").arg(kt::VERSION_STRING));
enc.end();
sendExtProtMsg(0,arr);
}