]> ruin.nu Git - eonsl.git/blobdiff - eonsl/main.cpp
Fixed some tabulation..
[eonsl.git] / eonsl / main.cpp
index 093f9450b60c60c1b92237febc8c2dae5bf8a302..90d1c11239071083990186cf6df7806cd9acdfb6 100644 (file)
 
 #include <qapplication.h>
 #include <qfont.h>
+#include <qplatinumstyle.h>
 
 #include "eonsl.h"
 
 int main(int argc, char *argv[])
 {
-  Misapplication a(argc, argv);
+       QApplication a(argc, argv);
+       
+       QStyle* s = new QPlatinumStyle();
+       
+       a.setFont(QFont("helvetica", 12));
+       /* uncomment the following line, if you want a Windows 95 look*/
+       // a.setStyle(WindowsStyle);
+       a.setStyle(s);
+       EonSL *eonsl=new EonSL();
+       a.setMainWidget(eonsl);
 
-  a.setFont(QFont("helvetica", 12));
-  /* uncomment the following line, if you want a Windows 95 look*/
-  // a.setStyle(WindowsStyle);
-    
-  EonSL *eonsl=new EonSL();
-  a.setMainWidget(eonsl);
+       eonsl->setCaption("EonSL" VERSION);
+       eonsl->showMaximized();
+       eonsl->show();
 
-  eonsl->setCaption("EonSL" VERSION);
-  eonsl->show();
-
-  return a.exec();
+       return a.exec();
 }