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
DFN2
ocs-manager
Commits
a92d1f3b
Verified
Commit
a92d1f3b
authored
Sep 02, 2019
by
azubieta
Browse files
use different QProcess::startDetached signature
parent
4e9e0ef2
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/updaters/appupdater.cpp
View file @
a92d1f3b
...
...
@@ -77,11 +77,10 @@ void AppUpdater::doRestart()
QProcess
proc
;
proc
.
setProgram
(
path
);
proc
.
setEnvironment
(
getCleanSystemEnvironment
());
qDebug
()
<<
proc
.
environment
();
if
(
proc
.
startDetached
())
{
if
(
proc
.
startDetached
(
path
))
{
updateDialog
.
accept
();
}
else
updateDialog
.
showErrorMessage
(
"Unable to start: "
+
path
);
...
...
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