summaryrefslogtreecommitdiffstats
path: root/kmouth/phrasebook/phrasebookdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmouth/phrasebook/phrasebookdialog.cpp')
-rw-r--r--kmouth/phrasebook/phrasebookdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmouth/phrasebook/phrasebookdialog.cpp b/kmouth/phrasebook/phrasebookdialog.cpp
index 6e4deda..dff69e8 100644
--- a/kmouth/phrasebook/phrasebookdialog.cpp
+++ b/kmouth/phrasebook/phrasebookdialog.cpp
@@ -383,7 +383,7 @@ TQString PhraseBookDialog::displayPath (TQString filename) {
TQFileInfo file(filename);
TQString path = file.dirPath();
TQString dispPath = "";
- uint position = path.tqfind("/kmouth/books/")+TQString("/kmouth/books/").length();
+ uint position = path.find("/kmouth/books/")+TQString("/kmouth/books/").length();
while (path.length() > position) {
file.setFile(path);