daemon/kdeconnectd: Use QOverload with undeprecated signal

This will work in both KF5 and KF6
This commit is contained in:
Alexander Lohnau 2023-04-17 21:43:31 +02:00
parent d50055ddb4
commit 5a87000e3b

View file

@ -65,7 +65,7 @@ public:
oc.openConfiguration(deviceId);
};
connect(notification, &KNotification::action3Activated, openSettings);
connect(notification, QOverload<>::of(&KNotification::activated), openSettings);
connect(notification, QOverload<unsigned int>::of(&KNotification::activated), openSettings);
notification->sendEvent();
}