--- a/src/main.cpp Thu Feb 22 11:41:58 2018 +0200 +++ b/src/main.cpp Thu Mar 01 11:59:54 2018 +0200 @@ -23,6 +23,8 @@ #include "mainwindow.h" #include "generics/reverse.h" +Configuration* config = nullptr; + int main (int argc, char* argv[]) { QApplication app (argc, argv); @@ -30,6 +32,7 @@ app.setApplicationName (APPNAME); static Configuration configObject; + config = &configObject; LDPaths* paths = new LDPaths(&configObject); paths->checkPaths(); paths->deleteLater();