summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/torrent/bstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/torrent/bstring.cpp')
-rw-r--r--kfile-plugins/torrent/bstring.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kfile-plugins/torrent/bstring.cpp b/kfile-plugins/torrent/bstring.cpp
index acf16190..258c97c7 100644
--- a/kfile-plugins/torrent/bstring.cpp
+++ b/kfile-plugins/torrent/bstring.cpp
@@ -44,15 +44,15 @@ void BString::init (ByteTape &tape)
{
TQByteArray &dict(tape.data());
- if (dict.tqfind(':', tape.pos()) == -1)
+ if (dict.find(':', tape.pos()) == -1)
{
- kdDebug(7034) << "Can't tqfind : for string!" << endl;
+ kdDebug(7034) << "Can't find : for string!" << endl;
return;
}
// Copy the part from start to :, as it will be a number
// That number is the number of characters to read
- int length = dict.tqfind(':', tape.pos()) - tape.pos();
+ int length = dict.find(':', tape.pos()) - tape.pos();
char *ptr = dict.data();
ptr += tape.pos();