<table><tr><td style="">aacid added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D25981">View Revision</a></tr></table><br /><div><div><p>Does something like this fix the problem?</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="diff" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);"><span style="color: #000080">diff --git a/src/chatdlg.cpp b/src/chatdlg.cpp</span>
<span style="color: #000080">index 0b7ec1d..35a9ffe 100644</span>
<span style="color: #a00000">--- a/src/chatdlg.cpp</span>
<span style="color: #00a000">+++ b/src/chatdlg.cpp</span>
<span style="color: #800080">@@ -50,11 +50,10 @@ ChatDlg::ChatDlg(KGame *game,QWidget *parent)</span>
QVBoxLayout *mainLayout = new QVBoxLayout;
setLayout(mainLayout);
QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok);
<span style="color: #a00000">- okButton->setDefault(true);</span>
okButton->setShortcut(Qt::CTRL | Qt::Key_Return);
connect(buttonBox, &QDialogButtonBox::accepted, this, &QDialog::accept);
connect(buttonBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
<span style="color: #a00000">- okButton->setDefault(true);</span>
<span style="color: #00a000">+ okButton->setAutoDefault(false);</span>
setModal(false);
setMinimumSize(QSize(200,200));
<span style="color: #800080">@@ -68,6 +67,7 @@ ChatDlg::ChatDlg(KGame *game,QWidget *parent)</span>
mGridLayout->addWidget(b,0,0);
QPushButton *mButton = new QPushButton(i18n("Configure..."),frame);
<span style="color: #00a000">+ mButton->setAutoDefault(false);</span>
mGridLayout->addWidget(mButton,1,1);
mainLayout->addWidget(frame);</pre></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R395 KFourInLine</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25981">https://phabricator.kde.org/D25981</a></div></div><br /><div><strong>To: </strong>yurchor, KDE Games<br /><strong>Cc: </strong>aacid, kde-games-devel<br /></div>