diff options
Diffstat (limited to 'kget/dlgDirectories.cpp')
-rw-r--r-- | kget/dlgDirectories.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kget/dlgDirectories.cpp b/kget/dlgDirectories.cpp index 7d429757..acd8f6fb 100644 --- a/kget/dlgDirectories.cpp +++ b/kget/dlgDirectories.cpp @@ -86,7 +86,7 @@ void DlgDirectories::addEntry() TQString ext = le_ext->text(); TQString dir = le_dir->url(); - if (ext.tqcontains(",") || dir.tqcontains(",") || ext.isEmpty() || dir.isEmpty()) { + if (ext.contains(",") || dir.contains(",") || ext.isEmpty() || dir.isEmpty()) { KMessageBox::error(this, i18n("Each row consists of exactly one\nextension type and one folder."), i18n("Error")); return; } @@ -122,7 +122,7 @@ void DlgDirectories::changeEntry() TQString ext = le_ext->text(); TQString dir = le_dir->url(); - if (ext.tqcontains(",") || dir.tqcontains(",") || ext.isEmpty() || dir.isEmpty()) { + if (ext.contains(",") || dir.contains(",") || ext.isEmpty() || dir.isEmpty()) { KMessageBox::error(this, i18n("Each row consists of exactly one\nextension type and one folder."), i18n("Error")); return; } |