VirtualBox

Changeset 100278 in vbox


Ignore:
Timestamp:
Jun 25, 2023 11:16:35 AM (21 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157993
Message:

FE/Qt: bugref:9080. Adding container ISO file path as data to tree items.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UICustomFileSystemModel.h

    r100269 r100278  
    5050    UICustomFileSystemModelData_VISOPath,
    5151    UICustomFileSystemModelData_LocalPath,
     52    UICustomFileSystemModelData_ISOFilePath, /* in case of import-iso this contains full path of the container iso file. */
    5253    UICustomFileSystemModelData_Max
    5354};
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoContentBrowser.cpp

    r100271 r100278  
    211211                                                  const QList<KFsObjType> &fileObjectTypeList)
    212212{
    213     Q_UNUSED(strISOFilePath);
    214213    UICustomFileSystemItem *pParentItem = rootItem()->children()[0];
    215214    if (!m_pTableView || !pParentItem)
     
    230229                                                                        fileObjectTypeList[i]);
    231230        pAddedItem->setData(pathList[i], UICustomFileSystemModelData_LocalPath);
     231        pAddedItem->setData(strISOFilePath, UICustomFileSystemModelData_ISOFilePath);
    232232        pAddedItem->setData(UIPathOperations::mergePaths(pParentItem->path(), fileInfo.fileName()),
    233233                           UICustomFileSystemModelData_VISOPath);
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