summaryrefslogtreecommitdiffstats
path: root/kdeprint/cups/kptagspage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/cups/kptagspage.cpp')
-rw-r--r--kdeprint/cups/kptagspage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeprint/cups/kptagspage.cpp b/kdeprint/cups/kptagspage.cpp
index d9f5a0686..0e2d93ea3 100644
--- a/kdeprint/cups/kptagspage.cpp
+++ b/kdeprint/cups/kptagspage.cpp
@@ -110,7 +110,7 @@ bool KPTagsPage::isValid(TQString& msg)
TQString tag(m_tags->text(r, 0));
if (tag.isEmpty())
continue;
- else if (tag.tqfind(re) != -1)
+ else if (tag.find(re) != -1)
{
msg = i18n("The tag name must not contain any spaces, tabs or quotes: <b>%1</b>.").arg(tag);
return false;