Changeset 76669 in vbox
- Timestamp:
- Jan 7, 2019 10:40:08 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICustomFileSystemModel.cpp
r76626 r76669 170 170 void UICustomFileSystemItem::setPath(const QString &path) 171 171 { 172 QString strNewPath = UIPathOperations::removeTrailingDelimiters(path); 173 if (strNewPath.isNull() || strNewPath.isEmpty()) 172 if (path.isNull() || path.isEmpty()) 174 173 return; 175 m_itemData[UICustomFileSystemModelColumn_Path] = strNewPath;174 m_itemData[UICustomFileSystemModelColumn_Path] = path; 176 175 } 177 176
Note:
See TracChangeset
for help on using the changeset viewer.