From d11a0154e2d9732854c9a3d598857bc20f359849 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sun, 30 Mar 2003 01:51:14 +0000 Subject: - the network work for libopie2 pays off... - good bye to wellenreiterd, t'was fun but always too unstable and too hard to maintain - good bye to libwellenreiter --- (limited to 'noncore/net/wellenreiter/gui/main.cpp') diff --git a/noncore/net/wellenreiter/gui/main.cpp b/noncore/net/wellenreiter/gui/main.cpp index 270ce06..96a8c1c 100644 --- a/noncore/net/wellenreiter/gui/main.cpp +++ b/noncore/net/wellenreiter/gui/main.cpp @@ -14,30 +14,14 @@ **********************************************************************/ #include "mainwindow.h" - -#ifdef QWS -#include -#else -#include -#endif +#include int main( int argc, char **argv ) { -#ifdef QWS - QPEApplication a( argc, argv ); -#else - QApplication a( argc, argv ); -#endif - - WellenreiterMainWindow w; - - w.setCaption( "Wellenreiter/Opie" ); -#ifdef QWS - a.showMainWidget(&w); -#else - a.setMainWidget(&w); - w.show(); -#endif - - return a.exec(); + OApplication a( argc, argv, "Wellenreiter II" ); + WellenreiterMainWindow* w = new WellenreiterMainWindow(); + a.showMainWidget( w ); + a.exec(); + delete w; + return 0; } -- cgit v0.9.0.2