From 8b50c209b78a845e699371f6c66f7ece85880e88 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Fri, 22 Sep 2023 13:56:57 +0200 Subject: [PATCH] fix build --- src/librssguard/gui/settings/settingsnotifications.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/librssguard/gui/settings/settingsnotifications.cpp b/src/librssguard/gui/settings/settingsnotifications.cpp index 084b320a0..afce5c9a5 100644 --- a/src/librssguard/gui/settings/settingsnotifications.cpp +++ b/src/librssguard/gui/settings/settingsnotifications.cpp @@ -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::of(&QSpinBox::valueChanged), this, &SettingsNotifications::showScreenInfo); connect(m_ui.m_cbCustomNotificationsPosition, - &QComboBox::currentIndexChanged, + QOverload::of(&QComboBox::currentIndexChanged), this, &SettingsNotifications::dirtifySettings); connect(m_ui.m_cbCustomNotificationsPosition, - &QComboBox::currentIndexChanged, + QOverload::of(&QComboBox::currentIndexChanged), this, &SettingsNotifications::requireRestart);