daemon/kdeconnectd: Use QOverload with undeprecated signal
This will work in both KF5 and KF6
This commit is contained in:
parent
d50055ddb4
commit
5a87000e3b
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ public:
|
||||||
oc.openConfiguration(deviceId);
|
oc.openConfiguration(deviceId);
|
||||||
};
|
};
|
||||||
connect(notification, &KNotification::action3Activated, openSettings);
|
connect(notification, &KNotification::action3Activated, openSettings);
|
||||||
connect(notification, QOverload<>::of(&KNotification::activated), openSettings);
|
connect(notification, QOverload<unsigned int>::of(&KNotification::activated), openSettings);
|
||||||
notification->sendEvent();
|
notification->sendEvent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue