Commit c14157ce authored by Christian Gebauer's avatar Christian Gebauer
Browse files

parent for the keyboard dialog,

ok as default button for the preferences dialog

svn path=/trunk/kdegames/kmines/; revision=65107
parent 7c1d5527
......@@ -317,7 +317,7 @@ const QColor DEFAULT_ERROR_COLOR = Qt::red;
OptionDialog::OptionDialog(QWidget *parent)
: KDialogBase(Tabbed, i18n("Settings"), Ok|Cancel|Default, Cancel,
: KDialogBase(Tabbed, i18n("Settings"), Ok|Cancel|Default, Ok,
parent, 0, true, true)
{
mainPage();
......
......@@ -175,7 +175,7 @@ void MainWidget::setKeyboardEnabled(bool enable)
void MainWidget::configureKeys()
{
KKeyDialog::configureKeys(actionCollection(), xmlFile());
KKeyDialog::configureKeys(actionCollection(), xmlFile(), true, this);
}
void MainWidget::gameStateChanged(GameState s)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment