diff options
Diffstat (limited to 'tests/testparse.cpp')
-rw-r--r-- | tests/testparse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testparse.cpp b/tests/testparse.cpp index 06eddaa8a..c3446712b 100644 --- a/tests/testparse.cpp +++ b/tests/testparse.cpp @@ -35,7 +35,7 @@ void TestParse::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 TestParse::init() |