Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
Plasma Phone Components
Commits
f3268539
Verified
Commit
f3268539
authored
Oct 19, 2020
by
Jonah Brüchert
🌳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port away from deprecated QProcess::startDetached overload
parent
c9ca9dac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
containments/panel/phonepanel.cpp
containments/panel/phonepanel.cpp
+2
-1
No files found.
containments/panel/phonepanel.cpp
View file @
f3268539
...
...
@@ -86,7 +86,8 @@ PhonePanel::~PhonePanel() = default;
void
PhonePanel
::
executeCommand
(
const
QString
&
command
)
{
qWarning
()
<<
"Executing"
<<
command
;
QProcess
::
startDetached
(
command
,
QStringList
());
const
QStringList
commandAndArguments
=
QProcess
::
splitCommand
(
command
);
QProcess
::
startDetached
(
commandAndArguments
.
front
(),
commandAndArguments
.
mid
(
1
));
}
void
PhonePanel
::
toggleTorch
()
...
...
Write
Preview
Markdown
is supported
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