Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KDE Connect
Commits
4dec116e
Commit
4dec116e
authored
Sep 19, 2020
by
Nicolas Fella
Browse files
Use non-deprecated QProcess method
parent
5d9dad3d
Pipeline
#34818
passed with stage
in 12 minutes and 36 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
daemon/kdeconnectd.cpp
View file @
4dec116e
...
...
@@ -54,7 +54,7 @@ public:
connect
(
notification
,
&
KNotification
::
action1Activated
,
device
,
&
Device
::
acceptPairing
);
connect
(
notification
,
&
KNotification
::
action2Activated
,
device
,
&
Device
::
rejectPairing
);
connect
(
notification
,
QOverload
<>::
of
(
&
KNotification
::
activated
),
this
,
[]{
QProcess
::
startDetached
(
QStringLiteral
(
"kdeconnect-settings"
));
QProcess
::
startDetached
(
QStringLiteral
(
"kdeconnect-settings"
)
,
{}
);
});
notification
->
sendEvent
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment