diff options
Diffstat (limited to 'tests/testgitstorage.cpp')
-rw-r--r-- | tests/testgitstorage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testgitstorage.cpp b/tests/testgitstorage.cpp index d6a460edf..1448c60ac 100644 --- a/tests/testgitstorage.cpp +++ b/tests/testgitstorage.cpp @@ -43,7 +43,7 @@ void TestGitStorage::initTestCase() QString gitUrl(prefs.cloud_base_url); if (gitUrl.right(1) != "/") gitUrl += "/"; - prefs.cloud_git_url = strdup(qPrintable(gitUrl + "git")); + prefs.cloud_git_url = copy_qstring(gitUrl + "git"); s.endGroup(); prefs.cloud_storage_email_encoded = strdup("ssrftest@hohndel.org"); prefs.cloud_storage_password = strdup("geheim"); |