diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:39:49 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:39:49 -0600 |
commit | bb37c4052a9edfff2196984cef241b1ce2df7bb3 (patch) | |
tree | 20f184005dcb8d5315aec18cb3253c7ff452c8ca /libktorrent/util/log.cpp | |
parent | a90eb215f53c95d81f95b32255098066d90556d9 (diff) | |
download | ktorrent-bb37c4052a9edfff2196984cef241b1ce2df7bb3.tar.gz ktorrent-bb37c4052a9edfff2196984cef241b1ce2df7bb3.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'libktorrent/util/log.cpp')
-rw-r--r-- | libktorrent/util/log.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libktorrent/util/log.cpp b/libktorrent/util/log.cpp index 2cb53da..2fb36f9 100644 --- a/libktorrent/util/log.cpp +++ b/libktorrent/util/log.cpp @@ -79,8 +79,8 @@ namespace bt // move all log files one up for (Uint32 i = 10;i > 1;i--) { - TQString prev = TQString("%1-%2.gz").tqarg(file).tqarg(i - 1); - TQString curr = TQString("%1-%2.gz").tqarg(file).tqarg(i); + TQString prev = TQString("%1-%2.gz").arg(file).arg(i - 1); + TQString curr = TQString("%1-%2.gz").arg(file).arg(i); if (bt::Exists(prev)) bt::Move(prev,curr,true); } @@ -100,7 +100,7 @@ namespace bt fptr.setName(file); if (!fptr.open(IO_WriteOnly)) - throw Error(i18n("Cannot open log file %1 : %2").tqarg(file).tqarg(fptr.errorString())); + throw Error(i18n("Cannot open log file %1 : %2").arg(file).arg(fptr.errorString())); out->setDevice(TQT_TQIODEVICE(&fptr)); } |