Commit df467e01 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix Bug 419065 - Doesn't build with Qt 5.15

BUG: 419065
(cherry picked from commit f0d1f4f3)
parent ab803fc0
...@@ -64,11 +64,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent) ...@@ -64,11 +64,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent)
connect(m_removeButton, &QPushButton::clicked, this, &SettingsDialog::removeFolder); connect(m_removeButton, &QPushButton::clicked, this, &SettingsDialog::removeFolder);
connect(resetButton, &QPushButton::clicked, this, &SettingsDialog::reset); connect(resetButton, &QPushButton::clicked, this, &SettingsDialog::reset);
connect(closeButton, &QPushButton::clicked, this, &SettingsDialog::close); connect(closeButton, &QPushButton::clicked, this, &SettingsDialog::close);
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
connect(m_schemaGroup, static_cast<void (QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonClicked), this, &SettingsDialog::changeScheme); connect(m_schemaGroup, static_cast<void (QButtonGroup::*)(QAbstractButton *)>(&QButtonGroup::buttonClicked), this, &SettingsDialog::changeScheme);
#else
connect(m_schemaGroup, &QButtonGroup::buttonClicked, this, &SettingsDialog::changeScheme);
#endif
connect(contrastSlider, &QSlider::valueChanged, this, &SettingsDialog::changeContrast); connect(contrastSlider, &QSlider::valueChanged, this, &SettingsDialog::changeContrast);
connect(contrastSlider, &QSlider::sliderReleased, this, &SettingsDialog::slotSliderReleased); connect(contrastSlider, &QSlider::sliderReleased, this, &SettingsDialog::slotSliderReleased);
......
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