Commit 3b4948f1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove some qOverload as we remove deprecated qt5.15 signal

parent f5dd396f
Pipeline #82754 canceled with stage
......@@ -297,11 +297,11 @@ void TranslatorWidget::init()
slotFromLanguageChanged(0, true);
slotTextChanged();
readConfig();
connect(d->from, qOverload<int>(&QComboBox::currentIndexChanged), this, [this](int val) {
connect(d->from, &QComboBox::currentIndexChanged, this, [this](int val) {
slotFromLanguageChanged(val, false);
slotConfigChanged();
});
connect(d->to, qOverload<int>(&QComboBox::currentIndexChanged), this, [this]() {
connect(d->to, &QComboBox::currentIndexChanged, this, [this]() {
slotConfigChanged();
slotTranslate();
});
......
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