Diffstat (limited to 'noncore/apps/opie-console/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/main.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/noncore/apps/opie-console/main.cpp b/noncore/apps/opie-console/main.cpp index cf8bf05..4b5107e 100644 --- a/noncore/apps/opie-console/main.cpp +++ b/noncore/apps/opie-console/main.cpp @@ -2,3 +2,3 @@ -#include <mainwindow.h> +#include "mainwindow.h" @@ -6,8 +6,10 @@ int main(int argc, char **argv) { QPEApplication app( argc, argv ); - MainWindow* mw = new MainWindow(); - app.setMainWidget( mw ); - + + MainWindow mw; + mw.setCaption(QObject::tr("Opie console") ); + app.showMainWidget( &mw ); + app.exec(); - - delete mw; + + return 0; |