]> 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 b8fba6fa35e260a3316712446147f5bbc1fd1340..98aa47693e3ebbfc07cc2fc440c3982703362208 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <qapplication.h>
 #include <qfont.h>
+#include <qplatinumstyle.h>
 
 #include "eonsl.h"
 
@@ -25,14 +26,17 @@ int main(int argc, char *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();