summaryrefslogtreecommitdiffstats
path: root/libktorrent/util/autorotatelogjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libktorrent/util/autorotatelogjob.cpp')
-rw-r--r--libktorrent/util/autorotatelogjob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libktorrent/util/autorotatelogjob.cpp b/libktorrent/util/autorotatelogjob.cpp
index d3a2d8a..de4d1c5 100644
--- a/libktorrent/util/autorotatelogjob.cpp
+++ b/libktorrent/util/autorotatelogjob.cpp
@@ -46,8 +46,8 @@ namespace bt
{
while (cnt > 1)
{
- TQString prev = TQString("%1-%2.gz").tqarg(file).tqarg(cnt - 1);
- TQString curr = TQString("%1-%2.gz").tqarg(file).tqarg(cnt);
+ TQString prev = TQString("%1-%2.gz").arg(file).arg(cnt - 1);
+ TQString curr = TQString("%1-%2.gz").arg(file).arg(cnt);
if (bt::Exists(prev)) // if file exists start the move job
{
KIO::Job* sj = KIO::file_move(KURL::fromPathOrURL(prev),KURL::fromPathOrURL(curr),-1,true,false,false);