diff options
Diffstat (limited to 'libtdepim/linklocator.cpp')
-rw-r--r-- | libtdepim/linklocator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtdepim/linklocator.cpp b/libtdepim/linklocator.cpp index 8738788f4..d71bc875e 100644 --- a/libtdepim/linklocator.cpp +++ b/libtdepim/linklocator.cpp @@ -176,7 +176,7 @@ TQString LinkLocator::getEmailAddress() // determine the local part of the email address int start = mPos - 1; - while ( start >= 0 && mText[start].tqunicode() < 128 && + while ( start >= 0 && mText[start].unicode() < 128 && ( mText[start].isLetterOrNumber() || mText[start] == '@' || // allow @ to find invalid email addresses allowedSpecialChars.find( mText[start] ) != -1 ) ) { |