[Backport release-10.x] Don't show progress dialog when automatically checking for updates (#5082)

This commit is contained in:
Alexandru Ionut Tripon 2026-02-21 22:43:19 +02:00 committed by GitHub
commit d660ede75c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -94,7 +94,9 @@ void PrismExternalUpdater::checkForUpdates(bool triggeredByUser)
QProgressDialog progress(tr("Checking for updates..."), "", 0, 0, priv->parent);
progress.setCancelButton(nullptr);
progress.adjustSize();
progress.show();
if (triggeredByUser) {
progress.show();
}
QCoreApplication::processEvents();
QProcess proc;