summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrius Štikonas <andrius@stikonas.eu>2016-07-08 16:05:13 (GMT)
committerAndrius Štikonas <andrius@stikonas.eu>2016-07-08 16:05:13 (GMT)
commit1316fea29ede941297b4b7659245ea3f437905cf (patch)
tree9410d96e32a00499a5721a98c9d2fd93ddc6f10e
parent3604dfa93e5b02db4d72cf4628f1c870bda742be (diff)
Revert "Fix detailed console dialog layout."
This reverts commit 3604dfa93e5b02db4d72cf4628f1c870bda742be.
-rw-r--r--detailedconsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/detailedconsole.cpp b/detailedconsole.cpp
index 712c386..93a45ec 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;
+ QDialogButtonBox *buttonBox = new QDialogButtonBox(this);
buttonBox->addButton(detailsButton, QDialogButtonBox::HelpRole);
buttonBox->addButton(QDialogButtonBox::Ok);
buttonBox->button(QDialogButtonBox::Ok)->setFocus();