summaryrefslogtreecommitdiff
path: root/noncore/games/backgammon/rulesdialog.cpp
Side-by-side diff
Diffstat (limited to 'noncore/games/backgammon/rulesdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/backgammon/rulesdialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/games/backgammon/rulesdialog.cpp b/noncore/games/backgammon/rulesdialog.cpp
index 85c3db3..5e17eeb 100644
--- a/noncore/games/backgammon/rulesdialog.cpp
+++ b/noncore/games/backgammon/rulesdialog.cpp
@@ -3,6 +3,8 @@
#include <qgroupbox.h>
#include <qlabel.h>
+#include <qpe/qpeapplication.h>
+
RulesDialog::RulesDialog(QWidget* parent,const char* name,bool modal,WFlags f)
: QDialog(parent,name,modal,f)
{
@@ -32,7 +34,7 @@ RulesDialog::RulesDialog(QWidget* parent,const char* name,bool modal,WFlags f)
QLabel* nice_dice_help=new QLabel("allow to rescue pieces with dice\nvalues graeter than the distance\nto the players endzone.",nice_dice_box);
nice_dice_help->setGeometry(10,40,200,60);
- showMaximized();
+ QPEApplication::showDialog( this );
}