| 52 app.setApplicationName (APPNAME); |
52 app.setApplicationName (APPNAME); |
| 53 initCrashCatcher(); |
53 initCrashCatcher(); |
| 54 LDDocument::setCurrent (null); |
54 LDDocument::setCurrent (null); |
| 55 |
55 |
| 56 // Load or create the configuration |
56 // Load or create the configuration |
| 57 if (!Config::load()) |
57 if (not Config::load()) |
| 58 { |
58 { |
| 59 print ("Creating configuration file...\n"); |
59 print ("Creating configuration file...\n"); |
| 60 |
60 |
| 61 if (Config::save()) |
61 if (Config::save()) |
| 62 print ("Configuration file successfully created.\n"); |
62 print ("Configuration file successfully created.\n"); |