// (C) 2011 Underground Software
// See the README and GPLv3 files for licensing and warranty information
//
-// JLH = James L. Hammons <jlhamm@acm.org>
+// JLH = James Hammons <jlhamm@acm.org>
//
// Who When What
-// --- ---------- -------------------------------------------------------------
+// --- ---------- ------------------------------------------------------------
// JLH 03/22/2011 Created this file
//
// Main app constructor--we stick globally accessible stuff here...
-Architektonas::Architektonas(int argc, char * argv[]): QApplication(argc, argv)//, charWnd(NULL)
+Architektonas::Architektonas(int & argc, char * argv[]): QApplication(argc, argv)//, charWnd(NULL)
{
+ mainWindow = new ApplicationWindow;
+ mainWindow->show();
}
{
Q_INIT_RESOURCE(architektonas); // This must the same name as the exe filename
-// QApplication app(argc, argv);
-//printf("TTEdit app(argc, argv);\n");
Architektonas app(argc, argv);
-//printf("TTEMainWindow mainWindow;\n");
- ApplicationWindow mainWindow;
-//printf("mainWindow.show();\n");
- mainWindow.show();
-//OK, it gets to here at least...
-//printf("return app.exec();\n");
return app.exec();
}