VirtualBox

Changeset 77655 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 11, 2019 2:41:18 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9241: VirtualBox Manager UI: Chooser pane: Missed a bit of r129232.

File:
1 edited

Legend:

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

    r77638 r77655  
    17711771}
    17721772
    1773 void UIChooserModel::buildTreeForMainRoot()
    1774 {
    1775     /* Cleanup previous tree if exists: */
    1776     delete m_pRoot;
    1777     m_pRoot = 0;
    1778 
    1779     /* Build whole tree for invisible root item: */
    1780     m_pRoot = new UIChooserItemGroup(scene(), invisibleRoot()->toGroupNode());
    1781 
    1782     /* Install root as event-filter for scene view,
    1783      * we need QEvent::Scroll events from it: */
    1784     root()->installEventFilterHelper(scene()->views()[0]);
    1785 }
    1786 
    17871773bool UIChooserModel::isGlobalNodeFavorite(UIChooserNode *pParentNode) const
    17881774{
     
    19031889                             getDesiredPosition(pParentNode, UIChooserItemType_Machine, toOldStyleUuid(comMachine.GetId())),
    19041890                             comMachine);
     1891}
     1892
     1893void UIChooserModel::buildTreeForMainRoot()
     1894{
     1895    /* Cleanup previous tree if exists: */
     1896    delete m_pRoot;
     1897    m_pRoot = 0;
     1898
     1899    /* Build whole tree for invisible root item: */
     1900    m_pRoot = new UIChooserItemGroup(scene(), invisibleRoot()->toGroupNode());
     1901
     1902    /* Install root as event-filter for scene view,
     1903     * we need QEvent::Scroll events from it: */
     1904    root()->installEventFilterHelper(scene()->views()[0]);
    19051905}
    19061906
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