From 772062e33e72a55b3ed639580ade7e113376f2ee Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Mon, 9 Jul 2018 00:43:49 +0200 Subject: [PATCH] WIP: fixed path generation in db::init in non-Qt case. --- src/db/db/dbInit.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/db/db/dbInit.cc b/src/db/db/dbInit.cc index d831f1e9a..8608ecbe2 100644 --- a/src/db/db/dbInit.cc +++ b/src/db/db/dbInit.cc @@ -36,6 +36,7 @@ #endif #include +#include namespace db { @@ -133,7 +134,7 @@ void init (const std::vector &_paths) if (paths.empty ()) { std::string module_path = get_module_path (); if (! module_path.empty ()) { - paths.push_back (module_path); + paths.push_back (tl::absolute_path (module_path)); } }