summaryrefslogtreecommitdiffstats
path: root/kdeui/krestrictedline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/krestrictedline.cpp')
-rw-r--r--kdeui/krestrictedline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeui/krestrictedline.cpp b/kdeui/krestrictedline.cpp
index 85c52d54c..1904eb0c8 100644
--- a/kdeui/krestrictedline.cpp
+++ b/kdeui/krestrictedline.cpp
@@ -51,7 +51,7 @@ void KRestrictedLine::keyPressEvent( TQKeyEvent *e )
// do we have a list of valid chars &&
// is the pressed key in the list of valid chars?
- if (!qsValidChars.isEmpty() && !qsValidChars.contains(e->ascii()))
+ if (!qsValidChars.isEmpty() && !qsValidChars.tqcontains(e->ascii()))
{
// invalid char, emit signal and return
emit (invalidChar(e->key()));