From 36d271e5ec9a1877323adfd496f4877359ad73d7 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Tue, 26 May 2015 21:23:25 +0200 Subject: [PATCH] Create a Settings object in fridatest as well Otherwise it just segfaults! --- src/test.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test.cxx b/src/test.cxx index 66cde12..ea8c473 100644 --- a/src/test.cxx +++ b/src/test.cxx @@ -3,6 +3,7 @@ #include "log4cxx/basicconfigurator.h" #include #include "Config.hxx" +#include "core/Settings.hxx" const char* TEST_DATA_DIRECTORY; @@ -14,6 +15,7 @@ int main(int argc, char **argv) { log4cxx::Logger::getRootLogger()->setLevel(level); QApplication::addLibraryPath(CONFIG_LIBDIR); + Settings settings; if (argc > 1) TEST_DATA_DIRECTORY = argv[1]; else -- 2.39.5