diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:39:49 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-06 03:48:48 +0200 |
commit | 161e93feae40489201edee480db6802a9a61b0a4 (patch) | |
tree | 77e3e4aeae8d388ac7a7f5d1f0a8cf67045ee4a8 /libktorrent/torrent/multifilecache.cpp | |
parent | 1d7c126b63cbc97bba847f61e7c9ee89b80a390c (diff) | |
download | ktorrent-161e93feae40489201edee480db6802a9a61b0a4.tar.gz ktorrent-161e93feae40489201edee480db6802a9a61b0a4.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit bb37c4052a9edfff2196984cef241b1ce2df7bb3)
Diffstat (limited to 'libktorrent/torrent/multifilecache.cpp')
-rw-r--r-- | libktorrent/torrent/multifilecache.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libktorrent/torrent/multifilecache.cpp b/libktorrent/torrent/multifilecache.cpp index e842560..9d41fb8 100644 --- a/libktorrent/torrent/multifilecache.cpp +++ b/libktorrent/torrent/multifilecache.cpp @@ -592,7 +592,7 @@ namespace bt DNDFile out(dst_file); File fptr; if (!fptr.open(src_file,"rb")) - throw Error(i18n("Cannot open file %1 : %2").tqarg(src_file).tqarg(fptr.errorString())); + throw Error(i18n("Cannot open file %1 : %2").arg(src_file).arg(fptr.errorString())); Uint32 cs = 0; if (tf->getFirstChunk() == tor.getNumChunks() - 1) @@ -654,7 +654,7 @@ namespace bt // first attempt failed, must be fat so try that if (!FatPreallocate(output_file,tf->getSize())) { - throw Error(i18n("Cannot preallocate diskspace : %1").tqarg(strerror(errno))); + throw Error(i18n("Cannot preallocate diskspace : %1").arg(strerror(errno))); } } @@ -670,7 +670,7 @@ namespace bt File fptr; if (!fptr.open(output_file,"r+b")) - throw Error(i18n("Cannot open file %1 : %2").tqarg(output_file).tqarg(fptr.errorString())); + throw Error(i18n("Cannot open file %1 : %2").arg(output_file).arg(fptr.errorString())); Uint32 ts = cs - tf->getFirstChunkOffset() > tf->getLastChunkSize() ? @@ -782,7 +782,7 @@ namespace bt else { - // tqchildren, so we cannot delete any more directories higher up + // children, so we cannot delete any more directories higher up return; } } |