]> Shamusworld >> Repos - architektonas/blobdiff - src/main.cpp
Fixed loading code, added "Base Unit" dialog.
[architektonas] / src / main.cpp
index 3a1e633b80f86132afead4991942c7d5f617bd37..42425e9764a2942415f95772b992a93710f6b881 100644 (file)
@@ -5,7 +5,7 @@
 // (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
 // ---  ----------  -------------------------------------------------------------
 
 // 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();
 }
 
 
@@ -30,8 +32,6 @@ int main(int argc, char * argv[])
        Q_INIT_RESOURCE(architektonas); // This must the same name as the exe filename
 
        Architektonas app(argc, argv);
-       ApplicationWindow mainWindow;
-       mainWindow.show();
 
        return app.exec();
 }