fix build

This commit is contained in:
Martin Rotter 2023-09-22 13:56:57 +02:00
parent 41139cd905
commit 8b50c209b7

View file

@ -33,14 +33,14 @@ SettingsNotifications::SettingsNotifications(Settings* settings, QWidget* parent
m_ui.m_sbScreen->setMinimum(-1);
m_ui.m_sbScreen->setMaximum(QGuiApplication::screens().size() - 1);
connect(m_ui.m_sbScreen, &QSpinBox::valueChanged, this, &SettingsNotifications::showScreenInfo);
connect(m_ui.m_sbScreen, QOverload<int>::of(&QSpinBox::valueChanged), this, &SettingsNotifications::showScreenInfo);
connect(m_ui.m_cbCustomNotificationsPosition,
&QComboBox::currentIndexChanged,
QOverload<int>::of(&QComboBox::currentIndexChanged),
this,
&SettingsNotifications::dirtifySettings);
connect(m_ui.m_cbCustomNotificationsPosition,
&QComboBox::currentIndexChanged,
QOverload<int>::of(&QComboBox::currentIndexChanged),
this,
&SettingsNotifications::requireRestart);