Run sending a crash report "silently".
--HG-- branch : develop
This commit is contained in:
parent
0dc78c818c
commit
826aac16d3
|
@ -889,7 +889,9 @@ void VApplication::SendReport(const QString &reportName) const
|
||||||
const QString arg = QString("curl.exe -k -H \"Authorization: bearer ")+token.join("")+
|
const QString arg = QString("curl.exe -k -H \"Authorization: bearer ")+token.join("")+
|
||||||
QString("\" -H \"Accept: application/json\" -H \"Content-type: application/json\" -X POST "
|
QString("\" -H \"Accept: application/json\" -H \"Content-type: application/json\" -X POST "
|
||||||
"--data @gist.json https://api.github.com/gists");
|
"--data @gist.json https://api.github.com/gists");
|
||||||
QProcess::startDetached(arg);
|
QProcess proc;
|
||||||
|
proc.start(arg);
|
||||||
|
proc.waitForFinished(10000); // 10 sec
|
||||||
reportFile.remove();// Clear after yourself
|
reportFile.remove();// Clear after yourself
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user