summaryrefslogtreecommitdiffstats
path: root/examples/widgets/desktop/systray
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/desktop/systray')
-rw-r--r--examples/widgets/desktop/systray/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/desktop/systray/window.cpp b/examples/widgets/desktop/systray/window.cpp
index e30166beac..3238e3bf31 100644
--- a/examples/widgets/desktop/systray/window.cpp
+++ b/examples/widgets/desktop/systray/window.cpp
@@ -80,7 +80,7 @@ Window::Window()
connect(showMessageButton, &QAbstractButton::clicked, this, &Window::showMessage);
connect(showIconCheckBox, &QAbstractButton::toggled, trayIcon, &QSystemTrayIcon::setVisible);
- connect(iconComboBox, QOverload<int>::of(&QComboBox::currentIndexChanged),
+ connect(iconComboBox, &QComboBox::currentIndexChanged,
this, &Window::setIcon);
connect(trayIcon, &QSystemTrayIcon::messageClicked, this, &Window::messageClicked);
connect(trayIcon, &QSystemTrayIcon::activated, this, &Window::iconActivated);