Commit 12c70174 authored by Andras Mantia's avatar Andras Mantia
Browse files

Fix build with g++ 4.8.5.

REVIEW: 129124
parent 6e2d3f4e
......@@ -873,8 +873,8 @@ void EditProfileDialog::showKeyBindingEditor(bool isNewTranslator)
QPointer<QDialog> dialog = new QDialog(this);
QDialogButtonBox *buttonBox = new QDialogButtonBox(dialog);
buttonBox->setStandardButtons(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
connect(buttonBox, &QDialogButtonBox::accepted, dialog, &QDialog::accept);
connect(buttonBox, &QDialogButtonBox::rejected, dialog, &QDialog::reject);
connect(buttonBox, &QDialogButtonBox::accepted, dialog.data(), &QDialog::accept);
connect(buttonBox, &QDialogButtonBox::rejected, dialog.data(), &QDialog::reject);
if (isNewTranslator)
dialog->setWindowTitle(i18n("New Key Binding List"));
......
Supports Markdown
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