From 3242941097f2f24aae0b375284465cf740c69190 Mon Sep 17 00:00:00 2001 From: Goli4thus Date: Sun, 30 Aug 2020 22:56:55 +0200 Subject: [PATCH] Partial revert of dcfeb87 (back to deprecated API usage). --- src/dialogrenamebatch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dialogrenamebatch.cpp b/src/dialogrenamebatch.cpp index 79738f5..b7d466c 100644 --- a/src/dialogrenamebatch.cpp +++ b/src/dialogrenamebatch.cpp @@ -90,8 +90,8 @@ DialogRenameBatch::DialogRenameBatch(const QVector &pVstBuckets) connect(mButtonAccept, &QPushButton::pressed, this, &DialogRenameBatch::slotButtonAccept); connect(mButtonCancel, &QPushButton::pressed, this, &DialogRenameBatch::slotButtonCancel); connect(mLineEditPhrase, &QLineEdit::textChanged, this, &DialogRenameBatch::slotTextChanged); - connect(mButtonGroupMode, static_cast(&QButtonGroup::idClicked), this, &DialogRenameBatch::slotModeChanged); - connect(mButtonGroupLocation, static_cast(&QButtonGroup::idClicked), this, &DialogRenameBatch::slotLocationChanged); + connect(mButtonGroupMode, static_cast(&QButtonGroup::buttonClicked), this, &DialogRenameBatch::slotModeChanged); + connect(mButtonGroupLocation, static_cast(&QButtonGroup::buttonClicked), this, &DialogRenameBatch::slotLocationChanged); } void DialogRenameBatch::init(QVector indices)