Use non-deprecated QProcess method
This commit is contained in:
parent
5d9dad3d7e
commit
4dec116edf
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ public:
|
||||||
connect(notification, &KNotification::action1Activated, device, &Device::acceptPairing);
|
connect(notification, &KNotification::action1Activated, device, &Device::acceptPairing);
|
||||||
connect(notification, &KNotification::action2Activated, device, &Device::rejectPairing);
|
connect(notification, &KNotification::action2Activated, device, &Device::rejectPairing);
|
||||||
connect(notification, QOverload<>::of(&KNotification::activated), this, []{
|
connect(notification, QOverload<>::of(&KNotification::activated), this, []{
|
||||||
QProcess::startDetached(QStringLiteral("kdeconnect-settings"));
|
QProcess::startDetached(QStringLiteral("kdeconnect-settings"), {});
|
||||||
});
|
});
|
||||||
notification->sendEvent();
|
notification->sendEvent();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue