From 8558431e6823cb41098e5739307959ea45787d07 Mon Sep 17 00:00:00 2001 From: Alexander Lohnau Date: Mon, 17 Apr 2023 21:43:31 +0200 Subject: [PATCH] daemon/kdeconnectd: Use QOverload with undeprecated signal This will work in both KF5 and KF6 --- daemon/kdeconnectd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/kdeconnectd.cpp b/daemon/kdeconnectd.cpp index 42c81c749..f3582e165 100644 --- a/daemon/kdeconnectd.cpp +++ b/daemon/kdeconnectd.cpp @@ -16,10 +16,10 @@ #include #include +#include #include #include #include -#include #include @@ -61,7 +61,7 @@ public: oc.openConfiguration(deviceId); }; connect(notification, &KNotification::action3Activated, openSettings); - connect(notification, QOverload<>::of(&KNotification::activated), openSettings); + connect(notification, QOverload::of(&KNotification::activated), openSettings); notification->sendEvent(); }