diff options
Diffstat (limited to 'amor/amortips.cpp')
-rw-r--r-- | amor/amortips.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/amor/amortips.cpp b/amor/amortips.cpp index c8da178..798657e 100644 --- a/amor/amortips.cpp +++ b/amor/amortips.cpp @@ -103,11 +103,11 @@ bool AmorTips::readKTips() const TQRegExp rx("\\n+"); int pos = -1; - while ((pos = content.tqfind("<html>", pos + 1, false)) != -1) + while ((pos = content.find("<html>", pos + 1, false)) != -1) { TQString tip = content - .mid(pos + 6, content.tqfind("</html>", pos, false) - pos - 6) - .tqreplace(rx, "\n"); + .mid(pos + 6, content.find("</html>", pos, false) - pos - 6) + .replace(rx, "\n"); if (!tip.endsWith("\n")) tip += "\n"; if (tip.startsWith("\n")) |