WIP: fixed path generation in db::init in non-Qt case.

This commit is contained in:
Matthias Koefferlein 2018-07-09 00:43:49 +02:00
parent 18782666f7
commit 772062e33e
1 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@
#endif #endif
#include <set> #include <set>
#include <cstdio>
namespace db namespace db
{ {
@ -133,7 +134,7 @@ void init (const std::vector<std::string> &_paths)
if (paths.empty ()) { if (paths.empty ()) {
std::string module_path = get_module_path (); std::string module_path = get_module_path ();
if (! module_path.empty ()) { if (! module_path.empty ()) {
paths.push_back (module_path); paths.push_back (tl::absolute_path (module_path));
} }
} }