X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=eonsl%2Fmain.cpp;h=90d1c11239071083990186cf6df7806cd9acdfb6;hb=0932da81451325e5f0e28e8f246944616f371784;hp=093f9450b60c60c1b92237febc8c2dae5bf8a302;hpb=0e5f7ad99205e3fe1eec3ab18343a1ea1ab5b186;p=eonsl.git diff --git a/eonsl/main.cpp b/eonsl/main.cpp index 093f945..90d1c11 100644 --- a/eonsl/main.cpp +++ b/eonsl/main.cpp @@ -18,22 +18,26 @@ #include #include +#include #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(); }