X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmain.cpp;h=960cee9129a7644e8599d8b11176ce3c233e1569;hb=d9f34cb7917e396a1df805687234d5473d82283b;hp=3a1e633b80f86132afead4991942c7d5f617bd37;hpb=bd9b40058a376c946318a444dd6c77737ec6ac98;p=architektonas diff --git a/src/main.cpp b/src/main.cpp index 3a1e633..960cee9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,10 +5,10 @@ // (C) 2011 Underground Software // See the README and GPLv3 files for licensing and warranty information // -// JLH = James L. Hammons +// JLH = James Hammons // // Who When What -// --- ---------- ------------------------------------------------------------- +// --- ---------- ------------------------------------------------------------ // JLH 03/22/2011 Created this file // @@ -19,19 +19,18 @@ // 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(); }