src/main.cpp

changeset 953
8349552ee5e9
parent 952
f116b63c4844
child 958
1dc890c73e01
--- a/src/main.cpp	Sat Aug 29 17:07:39 2015 +0300
+++ b/src/main.cpp	Sat Aug 29 18:45:48 2015 +0300
@@ -33,6 +33,7 @@
 #include "configDialog.h"
 #include "dialogs.h"
 #include "crashCatcher.h"
+#include "ldpaths.h"
 
 MainWindow* g_win = null;
 static QString g_versionString, g_fullVersionString;
@@ -64,7 +65,9 @@
 			Critical ("Failed to create configuration file!\n");
 	}
 
-	LDPaths::initPaths();
+	LDPaths* paths = new LDPaths;
+	paths->checkPaths();
+	paths->deleteLater();
 	InitColors();
 	LoadPrimitives();
 	MainWindow* win = new MainWindow;

mercurial