aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testpicture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testpicture.cpp')
-rw-r--r--tests/testpicture.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testpicture.cpp b/tests/testpicture.cpp
index 2833a8144..0bf72b0ff 100644
--- a/tests/testpicture.cpp
+++ b/tests/testpicture.cpp
@@ -7,6 +7,7 @@
#include "core/picture.h"
#include "core/trip.h"
#include "core/file.h"
+#include "core/pref.h"
#include <QString>
#include <core/qthelper.h>
@@ -14,6 +15,7 @@ void TestPicture::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);
}
#define PIC1_NAME "/dives/images/wreck.jpg"