summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/statsfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libktorrent/torrent/statsfile.cpp')
-rw-r--r--libktorrent/torrent/statsfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libktorrent/torrent/statsfile.cpp b/libktorrent/torrent/statsfile.cpp
index 54033aa..772f6be 100644
--- a/libktorrent/torrent/statsfile.cpp
+++ b/libktorrent/torrent/statsfile.cpp
@@ -97,7 +97,7 @@ namespace bt
while (!in.atEnd())
{
TQString line = in.readLine();
- TQString tmp = line.left(line.tqfind('='));
+ TQString tmp = line.left(line.find('='));
m_values.insert(tmp, line.mid(tmp.length()+1));
}
close();