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

View file

@ -141,7 +141,7 @@ bool UpdaterPrivate::StartUpdateCheck() {
main_process = new QProcess(this);
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,
&UpdaterPrivate::UpdaterReady, Qt::QueuedConnection);