]> ruin.nu Git - eonsl.git/blobdiff - eonsl/main.cpp
I don't remember what I did to eonslp.pro, Makefile or eonsl.kdevprj. Probably just...
[eonsl.git] / eonsl / main.cpp
index 093f9450b60c60c1b92237febc8c2dae5bf8a302..98aa47693e3ebbfc07cc2fc440c3982703362208 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);
 
   eonsl->setCaption("EonSL" VERSION);
+       eonsl->showMaximized();
   eonsl->show();
 
   return a.exec();