diff options
Diffstat (limited to 'tests/testmerge.cpp')
-rw-r--r-- | tests/testmerge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testmerge.cpp b/tests/testmerge.cpp index 238044739..06d82e870 100644 --- a/tests/testmerge.cpp +++ b/tests/testmerge.cpp @@ -12,7 +12,7 @@ void TestMerge::initTestCase() { /* we need to manually tell that the resource exists, because we are using it as library. */ Q_INIT_RESOURCE(subsurface); - prefs.cloud_base_url = strdup(default_prefs.cloud_base_url); + copy_prefs(&default_prefs, &prefs); } void TestMerge::cleanup() |