summaryrefslogtreecommitdiffstats
path: root/libktorrent/datachecker
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/datachecker
parent1d7c126b63cbc97bba847f61e7c9ee89b80a390c (diff)
downloadktorrent-161e93feae40489201edee480db6802a9a61b0a4.tar.gz
ktorrent-161e93feae40489201edee480db6802a9a61b0a4.zip
Remove additional unneeded tq method conversions
(cherry picked from commit bb37c4052a9edfff2196984cef241b1ce2df7bb3)
Diffstat (limited to 'libktorrent/datachecker')
-rw-r--r--libktorrent/datachecker/multidatachecker.cpp8
-rw-r--r--libktorrent/datachecker/singledatachecker.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/libktorrent/datachecker/multidatachecker.cpp b/libktorrent/datachecker/multidatachecker.cpp
index 526fd08..e98a64f 100644
--- a/libktorrent/datachecker/multidatachecker.cpp
+++ b/libktorrent/datachecker/multidatachecker.cpp
@@ -109,8 +109,8 @@ namespace bt
File fptr;
if (!fptr.open(cache + tf.getPath(), "rb"))
{
- Out() << TQString("Warning : Cannot open %1 : %2").tqarg(cache +
- tf.getPath()).tqarg(fptr.errorString()) << endl;
+ Out() << TQString("Warning : Cannot open %1 : %2").arg(cache +
+ tf.getPath()).arg(fptr.errorString()) << endl;
return 0;
}
@@ -183,8 +183,8 @@ namespace bt
File fptr;
if (!fptr.open(cache + f.getPath(), "rb"))
{
- Out() << TQString("Warning : Cannot open %1 : %2").tqarg(cache +
- f.getPath()).tqarg(fptr.errorString()) << endl;
+ Out() << TQString("Warning : Cannot open %1 : %2").arg(cache +
+ f.getPath()).arg(fptr.errorString()) << endl;
return false;
}
else
diff --git a/libktorrent/datachecker/singledatachecker.cpp b/libktorrent/datachecker/singledatachecker.cpp
index e086e90..948537c 100644
--- a/libktorrent/datachecker/singledatachecker.cpp
+++ b/libktorrent/datachecker/singledatachecker.cpp
@@ -48,7 +48,7 @@ namespace bt
if (!fptr.open(path,"rb"))
{
throw Error(i18n("Cannot open file : %1 : %2")
- .tqarg(path).tqarg( fptr.errorString()));
+ .arg(path).arg( fptr.errorString()));
}
// initialize the bitsets