src/main.cpp

changeset 1220
c4c37abbe22b
parent 1219
8e39b5d7c562
child 1222
34def2630300
equal deleted inserted replaced
1219:8e39b5d7c562 1220:c4c37abbe22b
15 * You should have received a copy of the GNU General Public License 15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18 18
19 #include <QApplication> 19 #include <QApplication>
20 #include <QMessageBox>
21 #include <QAbstractButton>
22 #include <QFile>
23 #include <QTextStream>
24 #include <QDir>
25 #include "mainwindow.h" 20 #include "mainwindow.h"
26 #include "ldDocument.h"
27 #include "miscallenous.h"
28 #include "colors.h"
29 #include "basics.h"
30 #include "primitives.h" 21 #include "primitives.h"
31 #include "glRenderer.h"
32 #include "dialogs.h"
33 #include "crashCatcher.h" 22 #include "crashCatcher.h"
34 #include "ldpaths.h" 23 #include "ldpaths.h"
35 #include "documentmanager.h" 24 #include "documentmanager.h"
36 25
37 MainWindow* g_win = nullptr; 26 MainWindow* g_win = nullptr;
38 ConfigurationValueBag config; 27 ConfigurationValueBag config;
39
40 ConfigOption(bool FirstStart = true) 28 ConfigOption(bool FirstStart = true)
41 29
42 // =============================================================================
43 //
44 int main(int argc, char* argv[]) 30 int main(int argc, char* argv[])
45 { 31 {
46 QApplication app(argc, argv); 32 QApplication app(argc, argv);
47 app.setOrganizationName(APPNAME); 33 app.setOrganizationName(APPNAME);
48 app.setApplicationName(APPNAME); 34 app.setApplicationName(APPNAME);

mercurial