VirtualBox

Changeset 90299 in vbox


Ignore:
Timestamp:
Jul 23, 2021 10:58:13 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145854
Message:

FE/Qt: bugref:10067: VirtualBox Manager: Enabling notification-center, so far it's empty.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp

    r90088 r90299  
    3030#include "UIChooser.h"
    3131#include "UIMessageCenter.h"
     32#include "UINotificationCenter.h"
    3233#include "UIVirtualBoxManager.h"
    3334#include "UIVirtualBoxManagerWidget.h"
     
    718719        }
    719720    }
     721
     722    /* Create notification-center: */
     723    UINotificationCenter::create(this);
    720724
    721725    /* Update toolbar finally: */
     
    10421046}
    10431047
     1048void UIVirtualBoxManagerWidget::cleanupWidgets()
     1049{
     1050    UINotificationCenter::destroy();
     1051}
     1052
    10441053void UIVirtualBoxManagerWidget::cleanup()
    10451054{
    10461055    /* Cleanup everything: */
    10471056    cleanupConnections();
     1057    cleanupWidgets();
    10481058}
    10491059
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.h

    r89248 r90299  
    304304        /** Cleanups connections. */
    305305        void cleanupConnections();
     306        /** Cleanups widgets. */
     307        void cleanupWidgets();
    306308        /** Cleanups all. */
    307309        void cleanup();
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