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 cf2cdbc5a..61d17e30d 100644
--- a/kresources/carddav/preferences.cpp
+++ b/kresources/carddav/preferences.cpp
@@ -223,14 +223,14 @@ TQString CardDavPrefs::getFullUrl() {
firstAt = safeURL.find("@") + 1;
while (safeURL.find("@", firstAt) != -1) {
- safeURL.replace(safeURL.find("@", firstAt), 1, "%40");
+ safeURL.tqreplace(safeURL.find("@", firstAt), 1, "%40");
}
// Unencode the username, as Zimbra stupidly rejects the %40
- safeURL.replace("%40", "@");
+ safeURL.tqreplace("%40", "@");
// Encode any spaces, as libcarddav stupidly fails otherwise
- safeURL.replace(" ", "%20");
+ safeURL.tqreplace(" ", "%20");
return safeURL;
}