]> Shamusworld >> Repos - architektonas/blobdiff - src/main.cpp
More polyline upgrading: points and arcs are now editable with the GUI.
[architektonas] / src / main.cpp
index 00643e10033aed347eb47caeef8233561839eea4..960cee9129a7644e8599d8b11176ce3c233e1569 100644 (file)
@@ -8,7 +8,7 @@
 // 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();
 }
 
-
 // Here's the main application loop--short and simple...
 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();
 }