summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/userdefinedregexps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kregexpeditor/userdefinedregexps.cpp')
-rw-r--r--kregexpeditor/userdefinedregexps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kregexpeditor/userdefinedregexps.cpp b/kregexpeditor/userdefinedregexps.cpp
index b251295..723e81f 100644
--- a/kregexpeditor/userdefinedregexps.cpp
+++ b/kregexpeditor/userdefinedregexps.cpp
@@ -226,7 +226,7 @@ void UserDefinedRegExps::slotSelectNewAction()
WidgetWinItem::WidgetWinItem( TQString fileName, RegExp* regexp, bool usersRegExp, TQListViewItem* tqparent )
:TQListViewItem( tqparent ), _regexp( regexp ), _usersRegExp ( usersRegExp )
{
- int index = fileName.tqfindRev(TQString::fromLocal8Bit(".regexp"));
+ int index = fileName.findRev(TQString::fromLocal8Bit(".regexp"));
_name = fileName.left(index);
setText( 0, _name );