summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoDetailsPane.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoDetailsPane.cpp')
-rw-r--r--lib/kofficecore/KoDetailsPane.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kofficecore/KoDetailsPane.cpp b/lib/kofficecore/KoDetailsPane.cpp
index 85d9c3d6f..efddc96a6 100644
--- a/lib/kofficecore/KoDetailsPane.cpp
+++ b/lib/kofficecore/KoDetailsPane.cpp
@@ -305,7 +305,7 @@ KoRecentDocumentsPane::KoRecentDocumentsPane(TQWidget* tqparent, KInstance* inst
// Support for kdelibs-3.5's new RecentFiles format: name[url]
if(path.endsWith("]")) {
- int pos = path.tqfind("[");
+ int pos = path.find("[");
name = path.mid(0, pos - 1);
path = path.mid(pos + 1, path.length() - pos - 2);
}