Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit f23803e7 authored by Michael Pyne's avatar Michael Pyne

renamer: Fix missing accept button in confirm dialog.

I messed this up in porting to QDialogButtonBox somehow.

FIXED-IN:19.04.3
BUG:408376
parent 55a6bd71
Pipeline #4565 passed with stage
in 13 minutes and 17 seconds
......@@ -88,7 +88,7 @@ public:
lv->setRootIsDecorated(false);
vboxLayout->addWidget(lv);
auto buttonBox = new QDialogButtonBox(this);
auto buttonBox = new QDialogButtonBox(QDialogButtonBox::Yes | QDialogButtonBox::Cancel, this);
vboxLayout->addWidget(buttonBox);
connect(buttonBox, &QDialogButtonBox::accepted, this, &QDialog::accept);
connect(buttonBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
......
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