mirror of
https://github.com/citra-emu/citra-nightly.git
synced 2024-12-23 05:05:36 +00:00
qt: Fix arguments to maintenancetool for update check. (#6946)
This commit is contained in:
parent
9e898bca06
commit
e2d8eef5fa
|
@ -141,7 +141,7 @@ bool UpdaterPrivate::StartUpdateCheck() {
|
||||||
|
|
||||||
main_process = new QProcess(this);
|
main_process = new QProcess(this);
|
||||||
main_process->setProgram(GetMaintenanceTool().absoluteFilePath());
|
main_process->setProgram(GetMaintenanceTool().absoluteFilePath());
|
||||||
main_process->setArguments({QStringLiteral("--checkupdates"), QStringLiteral("-v")});
|
main_process->setArguments({QStringLiteral("--checkupdates")});
|
||||||
|
|
||||||
connect(main_process, qOverload<int, QProcess::ExitStatus>(&QProcess::finished), this,
|
connect(main_process, qOverload<int, QProcess::ExitStatus>(&QProcess::finished), this,
|
||||||
&UpdaterPrivate::UpdaterReady, Qt::QueuedConnection);
|
&UpdaterPrivate::UpdaterReady, Qt::QueuedConnection);
|
||||||
|
|
Loading…
Reference in a new issue