forked from qt-creator/qt-creator
UpdateInfoPlugin: Readd vanished comment
Amends d4871731bd
Change-Id: I34288f977ac913a77c98a201873783d3d879369d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -243,6 +243,9 @@ void UpdateInfoPlugin::checkForUpdatesFinished()
|
|||||||
std::optional<QtPackage> qtToNag = qtToNagAbout(qtPackages, &d->m_lastMaxQtVersion);
|
std::optional<QtPackage> qtToNag = qtToNagAbout(qtPackages, &d->m_lastMaxQtVersion);
|
||||||
|
|
||||||
if (!updates.isEmpty() || qtToNag) {
|
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)
|
if (d->m_progress)
|
||||||
d->m_progress->setKeepOnFinish(FutureProgress::HideOnFinish);
|
d->m_progress->setKeepOnFinish(FutureProgress::HideOnFinish);
|
||||||
emit newUpdatesAvailable(true);
|
emit newUpdatesAvailable(true);
|
||||||
|
Reference in New Issue
Block a user