From c99dd6650d5e511869b8bf75ec1ea1ab43aed1ce Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Fri, 25 Nov 2022 14:06:00 +0100 Subject: [PATCH] UpdateInfoPlugin: Readd vanished comment Amends d4871731bd1b2c623c7982c2496b0b3913112f71 Change-Id: I34288f977ac913a77c98a201873783d3d879369d Reviewed-by: Eike Ziller --- src/plugins/updateinfo/updateinfoplugin.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/updateinfo/updateinfoplugin.cpp b/src/plugins/updateinfo/updateinfoplugin.cpp index eec00e8d813..c59aa539b02 100644 --- a/src/plugins/updateinfo/updateinfoplugin.cpp +++ b/src/plugins/updateinfo/updateinfoplugin.cpp @@ -243,6 +243,9 @@ void UpdateInfoPlugin::checkForUpdatesFinished() std::optional 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);