VirtualBox

Changeset 64308 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 17, 2016 6:51:51 PM (8 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6899: Accessibility support (step 98): Adjusting QITreeWidget workaround to process multi-column trees.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QITreeWidget.cpp

    r64302 r64308  
    277277        while (pItem && iCurrentIndex < iIndex)
    278278        {
    279             iCurrentIndex += tree()->columnCount();
    280             pItem = tree()->itemBelow(pItem);
     279            ++iCurrentIndex;
     280            if (iCurrentIndex % tree()->columnCount() == 0)
     281                pItem = tree()->itemBelow(pItem);
    281282        }
    282283
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