34 #include "ldpaths.h" |
34 #include "ldpaths.h" |
35 #include "documentmanager.h" |
35 #include "documentmanager.h" |
36 |
36 |
37 MainWindow* g_win = nullptr; |
37 MainWindow* g_win = nullptr; |
38 ConfigurationValueBag config; |
38 ConfigurationValueBag config; |
39 const Vertex Origin (0.0f, 0.0f, 0.0f); |
39 const Vertex Origin(0.0f, 0.0f, 0.0f); |
40 const Matrix IdentityMatrix ({1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f}); |
40 const Matrix IdentityMatrix({1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f}); |
41 |
41 |
42 ConfigOption (bool FirstStart = true) |
42 ConfigOption(bool FirstStart = true) |
43 |
43 |
44 // ============================================================================= |
44 // ============================================================================= |
45 // |
45 // |
46 int main (int argc, char* argv[]) |
46 int main(int argc, char* argv[]) |
47 { |
47 { |
48 QApplication app (argc, argv); |
48 QApplication app(argc, argv); |
49 app.setOrganizationName (APPNAME); |
49 app.setOrganizationName(APPNAME); |
50 app.setApplicationName (APPNAME); |
50 app.setApplicationName(APPNAME); |
51 |
51 |
52 LDPaths* paths = new LDPaths; |
52 LDPaths* paths = new LDPaths; |
53 paths->checkPaths(); |
53 paths->checkPaths(); |
54 paths->deleteLater(); |
54 paths->deleteLater(); |
55 |
55 |