summaryrefslogtreecommitdiffstats
path: root/kresources/carddav/preferences.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/carddav/preferences.cpp')
-rw-r--r--kresources/carddav/preferences.cpp6
1 files changed, 3 insertions, 3 deletions
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