summaryrefslogtreecommitdiffstats
path: root/ktouch/src/ktouchlecture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ktouch/src/ktouchlecture.cpp')
-rw-r--r--ktouch/src/ktouchlecture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ktouch/src/ktouchlecture.cpp b/ktouch/src/ktouchlecture.cpp
index 1f3b687b..610c583a 100644
--- a/ktouch/src/ktouchlecture.cpp
+++ b/ktouch/src/ktouchlecture.cpp
@@ -129,9 +129,9 @@ bool KTouchLecture::readLecture(TQTextStream& in) {
// only consider non-empty lines
if (!line.isEmpty()) {
// lecture title?
- if (line.tqfind("# Title:") == 0)
+ if (line.find("# Title:") == 0)
m_title = line.right(line.length() - 8).stripWhiteSpace();
- else if (line[0]!='#' || line.tqfind("# Comment:")!=-1) {
+ else if (line[0]!='#' || line.find("# Comment:")!=-1) {
// ok, after all those comment lines, we finally found the beginn of a level
in_level = true;
current_level += line + '\n';