| 1 | #include <QtWidgets/QApplication> | 
 
 
 
 
 | 2 | #include "mainwindow.h" | 
 
 
 
 
 | 3 |  | 
 
 
 
 
 | 4 |  | 
 
 
 
 
 | 5 | int main(int argc, char *argv[]) | 
 
 
 
 
 | 6 | { | 
 
 
 
 
 | 7 |  | 
 
 
 
 
 | 8 | QApplication a(argc, argv); | 
 
 
 
 
 | 9 | MainWindow w; | 
 
 
 
 
 | 10 | w.show(); | 
 
 
 
 
 | 11 | a.setStyleSheet("QStatusBar::item { border: 0px; }"); //hide QLabels border in status bar //http://qt-project.org/forums/viewthread/18743 | 
 
 
 
 
 | 12 |  | 
 
 
 
 
 | 13 | //    XmlToolsInterface *xmlToolsWindow = new XmlToolsInterface(new Logger(UtilVago::getAppPath(), GlobalVars::AppLogName)); | 
 
 
 
 
 | 14 | //    xmlToolsWindow->show(); //it destroys itself when finished. | 
 
 
 
 
 | 15 |  | 
 
 
 
 
 | 16 | return a.exec(); | 
 
 
 
 
 | 17 | } | 
 
 
 
 
 | 18 |  |