src/main.cpp

changeset 1252
db1d4917626f
parent 1249
6a8f76f0f4d1
child 1308
dcc8c02530c2
--- 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();

mercurial