VirtualBox

Changeset 94516 in vbox


Ignore:
Timestamp:
Apr 7, 2022 2:22:14 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150861
Message:

FE/Qt: bugref:10205. Parametrize version checker to supress notification center messages when there are no new versions (during manager UI startup)

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/networking/UIUpdateManager.cpp

    r94458 r94516  
    5151
    5252private:
    53 #if 0
     53
    5454    /** Holds whether this customer has forced privelegies. */
    5555    bool  m_fForcedCall;
    56 #endif
     56
    5757};
    5858
     
    8888
    8989UIUpdateStepVirtualBox::UIUpdateStepVirtualBox(bool fForcedCall)
    90 #if 0
    9190    : m_fForcedCall(fForcedCall)
    92 #endif
    9391{
    9492    Q_UNUSED(fForcedCall);
     
    121119#else
    122120    UINotificationProgressNewVersionChecker *pNotification =
    123         new UINotificationProgressNewVersionChecker();
     121        new UINotificationProgressNewVersionChecker(m_fForcedCall);
    124122    connect(pNotification, &UINotificationProgressNewVersionChecker::sigProgressFinished,
    125123            this, &UIUpdateStepVirtualBox::sigStepFinished);
  • trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjects.cpp

    r94454 r94516  
    43114311*********************************************************************************************************************************/
    43124312
    4313 UINotificationProgressNewVersionChecker::UINotificationProgressNewVersionChecker()
     4313UINotificationProgressNewVersionChecker::UINotificationProgressNewVersionChecker(bool fForcedCall)
     4314    : m_fForcedCall(fForcedCall)
    43144315{
    43154316    connect(this, &UINotificationProgress::sigProgressFinished,
     
    43634364    }
    43644365    else
    4365         UINotificationMessage::showUpdateNotFound();
     4366    {
     4367        if (m_fForcedCall)
     4368            UINotificationMessage::showUpdateNotFound();
     4369    }
    43664370}
    43674371
  • trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjects.h

    r94454 r94516  
    26922692public:
    26932693
    2694     UINotificationProgressNewVersionChecker();
     2694    UINotificationProgressNewVersionChecker(bool fForcedCall);
    26952695
    26962696protected:
     
    27102710
    27112711    CHostUpdate m_comUpdateChecker;
     2712    /** Holds whether this customer has forced privelegies. */
     2713    bool        m_fForcedCall;
    27122714};
    27132715
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette