From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kresources/carddav/preferences.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kresources/carddav/preferences.cpp') diff --git a/kresources/carddav/preferences.cpp b/kresources/carddav/preferences.cpp index 61d17e30d..6511cfcb6 100644 --- a/kresources/carddav/preferences.cpp +++ b/kresources/carddav/preferences.cpp @@ -221,9 +221,9 @@ TQString CardDavPrefs::getFullUrl() { safeURL = t.toString(); - firstAt = safeURL.find("@") + 1; - while (safeURL.find("@", firstAt) != -1) { - safeURL.tqreplace(safeURL.find("@", firstAt), 1, "%40"); + firstAt = safeURL.tqfind("@") + 1; + while (safeURL.tqfind("@", firstAt) != -1) { + safeURL.tqreplace(safeURL.tqfind("@", firstAt), 1, "%40"); } // Unencode the username, as Zimbra stupidly rejects the %40 -- cgit v1.2.1