summaryrefslogtreecommitdiff
path: root/noncore/games/sfcave/helpwindow.cpp
Unidiff
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 @@
17 17
18#include <qwidget.h> 18#include <qwidget.h>
19#include <qlayout.h> 19#include <qlayout.h>
20#include <qstring.h> 20#include <qstring.h>
21#include <qtextview.h> 21#include <qtextview.h>
22 22
23#include <qpe/qpeapplication.h>
24
23#include "helpwindow.h" 25#include "helpwindow.h"
24 26
25 27
26#define HELP_TEXT \ 28#define HELP_TEXT \
27"<qt><h1>SFCave Help</h1><p> " \ 29"<qt><h1>SFCave Help</h1><p> " \
28"SFCave is a flying game for the Zaurus.<br><br> " \ 30"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
68 QString text = HELP_TEXT;; 70 QString text = HELP_TEXT;;
69 QTextView *view = new QTextView( text, 0, this, "view" ); 71 QTextView *view = new QTextView( text, 0, this, "view" );
70 layout->insertSpacing( -1, 5 ); 72 layout->insertSpacing( -1, 5 );
71 layout->insertWidget( -1, view ); 73 layout->insertWidget( -1, view );
72 layout->insertSpacing( -1, 5 ); 74 layout->insertSpacing( -1, 5 );
73 75
74 showMaximized(); 76 QPEApplication::showDialog( this );
75} 77}
76 78
77HelpWindow::~HelpWindow() 79HelpWindow::~HelpWindow()
78{ 80{
79} 81}