summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrius Štikonas <andrius@stikonas.eu>2016-07-08 11:36:35 (GMT)
committerAndrius Štikonas <andrius@stikonas.eu>2016-07-08 11:36:35 (GMT)
commit3604dfa93e5b02db4d72cf4628f1c870bda742be (patch)
tree5df43f8a901e18b2b1602af5fc6e35a740c577e9
parent044c49a47a1cdc4409e57c29311249c83d3cf98e (diff)
Fix detailed console dialog layout.
-rw-r--r--detailedconsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/detailedconsole.cpp b/detailedconsole.cpp
index 93a45ec..712c386 100644
--- a/detailedconsole.cpp
+++ b/detailedconsole.cpp
@@ -37,7 +37,7 @@ KgpgDetailedInfo::KgpgDetailedInfo(QWidget *parent, const QString &boxLabel, con
detailsButton->setText(QApplication::translate("KMessageBox", "&Details") + QStringLiteral(" >>"));
detailsButton->setIcon(QIcon::fromTheme(QStringLiteral("help-about")));
- QDialogButtonBox *buttonBox = new QDialogButtonBox(this);
+ QDialogButtonBox *buttonBox = new QDialogButtonBox;
buttonBox->addButton(detailsButton, QDialogButtonBox::HelpRole);
buttonBox->addButton(QDialogButtonBox::Ok);
buttonBox->button(QDialogButtonBox::Ok)->setFocus();