Commit 4dec116e authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Use non-deprecated QProcess method

parent 5d9dad3d
Pipeline #34818 passed with stage
in 12 minutes and 36 seconds
...@@ -54,7 +54,7 @@ public: ...@@ -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();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment