VirtualBox

Changeset 81138 in vbox


Ignore:
Timestamp:
Oct 8, 2019 9:21:13 AM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6699. Small fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerGuestTable.cpp

    r78146 r81138  
    210210                item->setData(fsInfo.GetUserName(), UICustomFileSystemModelColumn_Owner);
    211211                item->setData(permissionString(fsInfo), UICustomFileSystemModelColumn_Permissions);
    212                 item->setPath(UIPathOperations::mergePaths(strPath, fsInfo.GetName()));
     212                item->setPath(UIPathOperations::removeTrailingDelimiters(UIPathOperations::mergePaths(strPath, fsInfo.GetName())));
    213213                item->setIsOpened(false);
    214214                item->setIsHidden(isFileObjectHidden(fsInfo));
     
    293293    if (!item || item->isUpDirectory() || newBaseName.isEmpty())
    294294        return false;
    295     QString newPath = UIPathOperations::constructNewItemPath(item->path(), newBaseName);
     295    QString newPath = UIPathOperations::removeTrailingDelimiters(UIPathOperations::constructNewItemPath(item->path(), newBaseName));
    296296    QVector<KFsObjRenameFlag> aFlags(1, KFsObjRenameFlag_Replace);
    297297
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