Commit 321702d3 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove some qOverload as we remove deprecated qt5.15 signal

parent 42e84edb
Pipeline #82746 passed with stage
in 5 minutes and 58 seconds
......@@ -84,7 +84,7 @@ IdentityCombo::IdentityCombo(IdentityManager *manager, QWidget *parent)
{
d->reloadCombo();
d->reloadUoidList();
connect(this, qOverload<int>(&IdentityCombo::activated), this, &IdentityCombo::slotEmitChanged);
connect(this, &IdentityCombo::activated, this, &IdentityCombo::slotEmitChanged);
connect(this, &IdentityCombo::identityChanged, this, &IdentityCombo::slotUpdateTooltip);
connect(manager, qOverload<>(&IdentityManager::changed), this, &IdentityCombo::slotIdentityManagerChanged);
connect(manager, &IdentityManager::deleted, this, &IdentityCombo::identityDeleted);
......
......@@ -127,8 +127,8 @@ void SignatureConfigurator::Private::init()
auto widgetStack = new QStackedWidget(q);
widgetStack->setEnabled(false); // since !mEnableCheck->isChecked()
vlay->addWidget(widgetStack, 1);
q->connect(mSourceCombo, qOverload<int>(&QComboBox::currentIndexChanged), widgetStack, &QStackedWidget::setCurrentIndex);
q->connect(mSourceCombo, qOverload<int>(&QComboBox::highlighted), widgetStack, &QStackedWidget::setCurrentIndex);
q->connect(mSourceCombo, &QComboBox::currentIndexChanged, widgetStack, &QStackedWidget::setCurrentIndex);
q->connect(mSourceCombo, &QComboBox::highlighted, widgetStack, &QStackedWidget::setCurrentIndex);
// connects for the enabling of the widgets depending on
// signatureEnabled:
q->connect(mEnableCheck, &QCheckBox::toggled, mSourceCombo, &QComboBox::setEnabled);
......
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