VirtualBox

Ignore:
Timestamp:
Jul 10, 2023 1:46:36 PM (21 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
158204
Message:

FE/Qt: bugref:9080. Update navigation widget in ctor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoContentBrowser.cpp

    r100455 r100457  
    252252    if (rootItem() && rootItem()->childCount() > 0)
    253253    {
    254         UICustomFileSystemItem *pStartItem = static_cast<UICustomFileSystemItem*>(rootItem()->children()[0]);
     254        UICustomFileSystemItem *pStartItem = startItem();
    255255        if (pStartItem)
    256256        {
     
    260260        }
    261261    }
     262    updateNavigationWidgetPath(currentPath());
    262263}
    263264
     
    10901091    if (!pItem)
    10911092        return QString();
    1092     return pItem->data(UICustomFileSystemModelData_VISOPath).toString();
     1093    return pItem->path();//data(UICustomFileSystemModelData_VISOPath).toString();
    10931094}
    10941095
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