summaryrefslogtreecommitdiffstats
path: root/libkcal/person.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/person.cpp')
-rw-r--r--libkcal/person.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkcal/person.cpp b/libkcal/person.cpp
index aad80f68f..3d7c2b42d 100644
--- a/libkcal/person.cpp
+++ b/libkcal/person.cpp
@@ -64,7 +64,7 @@ TQString Person::fullName() const
// Taken from KABC::Addressee::fullEmail
TQString name = mName;
TQRegExp needQuotes( "[^ 0-9A-Za-z\\x0080-\\xFFFF]" );
- bool weNeedToQuote = name.find( needQuotes ) != -1;
+ bool weNeedToQuote = name.tqfind( needQuotes ) != -1;
if ( weNeedToQuote ) {
if ( name[0] != '"' )
name.prepend( '"' );