summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/asciivalidator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/asciivalidator.cpp')
-rw-r--r--kdevdesigner/designer/asciivalidator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdevdesigner/designer/asciivalidator.cpp b/kdevdesigner/designer/asciivalidator.cpp
index ae8661b4..3b1e4b45 100644
--- a/kdevdesigner/designer/asciivalidator.cpp
+++ b/kdevdesigner/designer/asciivalidator.cpp
@@ -85,7 +85,7 @@ TQValidator::State AsciiValidator::validate( TQString &s, int & ) const
}
}
- if ( allowedChars.tqfind( s[ i ] ) != -1 )
+ if ( allowedChars.find( s[ i ] ) != -1 )
continue;
s[i] = '_';