summaryrefslogtreecommitdiff
path: root/noncore/games/sfcave/helpwindow.cpp
Side-by-side diff
Diffstat (limited to 'noncore/games/sfcave/helpwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/sfcave/helpwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/games/sfcave/helpwindow.cpp b/noncore/games/sfcave/helpwindow.cpp
index c920312..544e237 100644
--- a/noncore/games/sfcave/helpwindow.cpp
+++ b/noncore/games/sfcave/helpwindow.cpp
@@ -17,12 +17,14 @@
#include <qwidget.h>
#include <qlayout.h>
#include <qstring.h>
#include <qtextview.h>
+#include <qpe/qpeapplication.h>
+
#include "helpwindow.h"
#define HELP_TEXT \
"<qt><h1>SFCave Help</h1><p> " \
"SFCave is a flying game for the Zaurus.<br><br> " \
@@ -68,12 +70,12 @@ HelpWindow::HelpWindow( QWidget *parent, const char *name, bool modal, WFlags fl
QString text = HELP_TEXT;;
QTextView *view = new QTextView( text, 0, this, "view" );
layout->insertSpacing( -1, 5 );
layout->insertWidget( -1, view );
layout->insertSpacing( -1, 5 );
- showMaximized();
+ QPEApplication::showDialog( this );
}
HelpWindow::~HelpWindow()
{
}