summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kmwname.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/management/kmwname.cpp')
-rw-r--r--kdeprint/management/kmwname.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeprint/management/kmwname.cpp b/kdeprint/management/kmwname.cpp
index 43f6f3fad..d46b104a7 100644
--- a/kdeprint/management/kmwname.cpp
+++ b/kdeprint/management/kmwname.cpp
@@ -48,7 +48,7 @@ bool KMWName::isValid(TQString& msg)
msg = i18n("You must supply at least a name.");
return false;
}
- else if (text(0).tqfind(TQRegExp("\\s")) != -1)
+ else if (text(0).find(TQRegExp("\\s")) != -1)
{
QString conv = text(0);
conv.replace(TQRegExp("\\s"), "");