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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kfile-plugins/torrent/bstring.cpp b/kfile-plugins/torrent/bstring.cpp
index 0b40b46a..258c97c7 100644
--- a/kfile-plugins/torrent/bstring.cpp
+++ b/kfile-plugins/torrent/bstring.cpp
@@ -85,7 +85,7 @@ void BString::init (ByteTape &tape)
// Time to copy the data
char *textBuffer = tape.at(tape.pos());
- if (!m_data.resize(len + 1))
+ if (!m_data.tqresize(len + 1))
return;
tqmemmove (m_data.data(), textBuffer, len);