VirtualBox

Changeset 64488 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 31, 2016 2:08:07 PM (8 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6899: Accessibility support (step 112): Fix possible crash in QITreeViewItem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QITreeView.h

    r64473 r64488  
    4242    /** Constructs tree-view item for passed @a pParent. */
    4343    QITreeViewItem(QITreeViewItem *pParentItem)
    44         : m_pParentTree(pParentItem->parentTree())
     44        : m_pParentTree(pParentItem ? pParentItem->parentTree() : 0)
    4545        , m_pParentItem(pParentItem)
    4646    {}
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