VirtualBox

Changeset 90627 in vbox


Ignore:
Timestamp:
Aug 11, 2021 12:56:28 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10067: Notification-center invoke fix; Implement TODOs re notification-center invocation.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp

    r90590 r90627  
    34153415    /* If downloader is running already: */
    34163416    else if (UINotificationDownloaderUserManual::exists())
    3417     {
    3418         /// @todo show notification-center
    3419     }
     3417        gpNotificationCenter->invoke();
    34203418    /* Else propose to download user manual: */
    34213419    else if (cannotFindUserManual(strUserManualFileName1))
  • trunk/src/VBox/Frontends/VirtualBox/src/networking/UIUpdateManager.cpp

    r90626 r90627  
    9595    if (UINotificationNewVersionCheckerVirtualBox::exists())
    9696    {
    97         /// @todo show notification-center
     97        gpNotificationCenter->invoke();
    9898        emit sigStepFinished();
    9999        return;
     
    135135    if (UINotificationDownloaderExtensionPack::exists())
    136136    {
     137        gpNotificationCenter->invoke();
    137138        emit sigStepFinished();
    138139        return;
     
    319320        /* And we have a force-call: */
    320321        if (fForcedCall)
    321         {
    322             /// @todo show notification-center
    323         }
     322            gpNotificationCenter->invoke();
    324323        return;
    325324    }
  • trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationCenter.cpp

    r90600 r90627  
    166166void UINotificationCenter::invoke()
    167167{
    168     emit sigOpen();
     168    /* Open if center isn't opened yet: */
     169    if (!m_pOpenButton->isChecked())
     170        m_pOpenButton->animateClick();
    169171}
    170172
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp

    r90568 r90627  
    25262526    /* If downloader is running already: */
    25272527    if (UINotificationDownloaderGuestAdditions::exists())
    2528     {
    2529         /// @todo show notification-center
    2530     }
     2528        gpNotificationCenter->invoke();
    25312529    /* Else propose to download additions: */
    25322530    else if (msgCenter().cannotFindGuestAdditions())
Note: See TracChangeset for help on using the changeset viewer.

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