src/main.cpp

changeset 1217
314e12e23c3a
parent 1215
77a0270352a3
child 1218
e0b59d183f96
--- a/src/main.cpp	Thu Jan 04 19:40:52 2018 +0200
+++ b/src/main.cpp	Thu Jan 04 19:44:26 2018 +0200
@@ -36,18 +36,18 @@
 
 MainWindow* g_win = nullptr;
 ConfigurationValueBag config;
-const Vertex Origin (0.0f, 0.0f, 0.0f);
-const Matrix IdentityMatrix ({1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f});
+const Vertex Origin(0.0f, 0.0f, 0.0f);
+const Matrix IdentityMatrix({1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f});
 
-ConfigOption (bool FirstStart = true)
+ConfigOption(bool FirstStart = true)
 
 // =============================================================================
 //
-int main (int argc, char* argv[])
+int main(int argc, char* argv[])
 {
-	QApplication app (argc, argv);
-	app.setOrganizationName (APPNAME);
-	app.setApplicationName (APPNAME);
+	QApplication app(argc, argv);
+	app.setOrganizationName(APPNAME);
+	app.setApplicationName(APPNAME);
 
 	LDPaths* paths = new LDPaths;
 	paths->checkPaths();
@@ -61,7 +61,7 @@
 
 	// Process the command line
 	for (int arg = 1; arg < argc; ++arg)
-		win->documents()->openMainModel (QString::fromLocal8Bit (argv[arg]));
+		win->documents()->openMainModel(QString::fromLocal8Bit(argv[arg]));
 
 	return app.exec();
 }

mercurial