diff options
Diffstat (limited to 'libktorrent/interfaces/filetreediritem.cpp')
-rw-r--r-- | libktorrent/interfaces/filetreediritem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libktorrent/interfaces/filetreediritem.cpp b/libktorrent/interfaces/filetreediritem.cpp index 54c1953..7cb78ca 100644 --- a/libktorrent/interfaces/filetreediritem.cpp +++ b/libktorrent/interfaces/filetreediritem.cpp @@ -70,7 +70,7 @@ namespace kt { size += file.getSize(); setText(1,BytesToString(size)); - int p = path.tqfind(bt::DirSeparator()); + int p = path.find(bt::DirSeparator()); if (p == -1) { tqchildren.insert(path,newFileTreeItem(path,file)); @@ -78,7 +78,7 @@ namespace kt else { TQString subdir = path.left(p); - FileTreeDirItem* sd = subdirs.tqfind(subdir); + FileTreeDirItem* sd = subdirs.find(subdir); if (!sd) { sd = newFileTreeDirItem(subdir); |