diff options
Diffstat (limited to 'kppp/edit.cpp')
-rw-r--r-- | kppp/edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kppp/edit.cpp b/kppp/edit.cpp index e9f049ab..fb1156be 100644 --- a/kppp/edit.cpp +++ b/kppp/edit.cpp @@ -724,7 +724,7 @@ DNSWidget::DNSWidget( TQWidget *tqparent, bool isnewaccount, const char *name ) void DNSWidget::DNS_Edit_Changed(const TQString &text) { TQRegExp r("[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+"); - add->setEnabled(text.tqfind(r) != -1); + add->setEnabled(text.find(r) != -1); } void DNSWidget::DNS_Entry_Selected(int) { |