summaryrefslogtreecommitdiff
path: root/noncore/games/backgammon/playerdialog.cpp
Side-by-side diff
Diffstat (limited to 'noncore/games/backgammon/playerdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/backgammon/playerdialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/games/backgammon/playerdialog.cpp b/noncore/games/backgammon/playerdialog.cpp
index c16f202..0faf7e2 100644
--- a/noncore/games/backgammon/playerdialog.cpp
+++ b/noncore/games/backgammon/playerdialog.cpp
@@ -1,10 +1,12 @@
#include "playerdialog.h"
#include <qgroupbox.h>
+#include <qpe/qpeapplication.h>
+
PlayerDialog::PlayerDialog(QWidget* parent,const char* name,bool modal,WFlags f)
:QDialog(parent,name,modal,f)
{
auto2=false;
auto2=true;
setCaption("Player Settings");
@@ -28,13 +30,13 @@ PlayerDialog::PlayerDialog(QWidget* parent,const char* name,bool modal,WFlags f)
manual_button2->setGeometry(10,20,100,20);
auto_button2=new QRadioButton("Computer",player2_box);
connect(auto_button2,SIGNAL(clicked()),this,SLOT(button_auto2()));
auto_button2->setGeometry(110,20,100,20);
button2_state(auto2);
- showMaximized();
+ QPEApplication::showDialog( this );
}
PlayerDialog::~PlayerDialog()
{}