UpdateInfoPlugin: Readd vanished comment

Amends d4871731bd

Change-Id: I34288f977ac913a77c98a201873783d3d879369d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Jarek Kobus
2022-11-25 14:06:00 +01:00
parent c38a00513e
commit c99dd6650d

View File

@@ -243,6 +243,9 @@ void UpdateInfoPlugin::checkForUpdatesFinished()
std::optional<QtPackage> qtToNag = qtToNagAbout(qtPackages, &d->m_lastMaxQtVersion);
if (!updates.isEmpty() || qtToNag) {
// progress details are shown until user interaction for the "no updates" case,
// so we can show the "No updates found" text, but if we have updates we don't
// want to keep it around
if (d->m_progress)
d->m_progress->setKeepOnFinish(FutureProgress::HideOnFinish);
emit newUpdatesAvailable(true);