VirtualBox

Changeset 90601 in vbox


Ignore:
Timestamp:
Aug 10, 2021 3:16:28 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10067: Tiny cleanup for UINotificationObjectItem classes.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjectItem.cpp

    r90591 r90601  
    385385        return new UINotificationProgressItem(pParent, static_cast<UINotificationProgress*>(pObject));
    386386#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
    387     if (pObject->inherits("UINotificationDownloader"))
     387    else if (pObject->inherits("UINotificationDownloader"))
    388388        return new UINotificationDownloaderItem(pParent, static_cast<UINotificationDownloader*>(pObject));
    389389#endif
  • trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjectItem.h

    r90590 r90601  
    8888    UINotificationProgressItem(QWidget *pParent, UINotificationProgress *pProgress = 0);
    8989
    90 protected:
    91 
    92     /** Holds the progress-bar instance. */
    93     QProgressBar *m_pProgressBar;
    94 
    9590private slots:
    9691
     
    110105    /** Updates details. */
    111106    void updateDetails();
     107
     108    /** Holds the progress-bar instance. */
     109    QProgressBar *m_pProgressBar;
    112110};
    113111
     
    123121      * @param  pDownloader  Brings the notification-downloader this item created for. */
    124122    UINotificationDownloaderItem(QWidget *pParent, UINotificationDownloader *pDownloader = 0);
    125 
    126 protected:
    127 
    128     /** Holds the progress-bar instance. */
    129     QProgressBar *m_pProgressBar;
    130123
    131124private slots:
     
    146139    /** Updates details. */
    147140    void updateDetails();
     141
     142    /** Holds the progress-bar instance. */
     143    QProgressBar *m_pProgressBar;
    148144};
    149145#endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
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