VirtualBox

Changeset 87684 in vbox


Ignore:
Timestamp:
Feb 10, 2021 12:54:23 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142726
Message:

VBoxDbg: bugref:9532: Qt 5.15.2 migration: Replacing QModelIndex::child with suitable set of calls since mentioned one is obsolete.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/VBoxDbgStatsQt.cpp

    r87677 r87684  
    28752875{
    28762876    int cRows = m_pModel->rowCount(a_rIndex);
    2877     for (int i = 0; i < cRows; i++)
    2878         setSubTreeExpanded(a_rIndex.child(i, 0), a_fExpanded);
     2877    if (a_rIndex.model())
     2878        for (int i = 0; i < cRows; i++)
     2879            setSubTreeExpanded(a_rIndex.model()->index(i, 0, a_rIndex), a_fExpanded);
    28792880    setExpanded(a_rIndex, a_fExpanded);
    28802881}
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