VirtualBox

Ignore:
Timestamp:
Jul 14, 2023 2:56:22 PM (20 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
158416
Message:

FE/Qt: bugref:9080. Processing the list of removed items from a VISO file.

File:
1 edited

Legend:

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

    r100583 r100586  
    907907    foreach (const QString &strPath, removedEntries)
    908908    {
    909         QStringList path = UIPathOperations::pathTrail(strPath);
     909        QFileInfo fileInfo(strPath);
     910        UICustomFileSystemItem *pItem = searchItemByPath(strPath);
     911        if (pItem)
     912        {
     913            pItem->setRemovedFromViso(true);
     914            createVisoEntry(strPath,  QString(), true);
     915        }
    910916    }
    911917}
     
    955961            if (fRecursive && enmType == KFsObjType_Directory && !newItem->isUpDirectory())
    956962                scanHostDirectory(newItem, true);
    957 
    958963        }
    959964        directoryItem->setIsOpened(true);
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