1
0
Fork 0

qt: Fix arguments to maintenancetool for update check. (#6946)

This commit is contained in:
Steveice10 2023-09-04 17:25:41 -07:00 committed by GitHub
parent 9e898bca06
commit e2d8eef5fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);