Changeset 102441 in vbox
- Timestamp:
- Dec 3, 2023 1:32:39 PM (12 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/guestctrl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerHostTable.cpp
r102418 r102441 161 161 { 162 162 163 QDir directory( strPath);163 QDir directory(UIPathOperations::addTrailingDelimiters(strPath)); 164 164 /* For some reason when this filter is applied, folder content QDir::entryInfoList() 165 165 returns an empty list: */ … … 174 174 { 175 175 const QFileInfo &fileInfo = entries.at(i); 176 177 176 UICustomFileSystemItem *item = new UICustomFileSystemItem(fileInfo.fileName(), parent, fileType(fileInfo)); 178 177 if (!item) -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerTable.cpp
r102418 r102441 1355 1355 if (m_pModel) 1356 1356 m_pModel->setIsWindowsFileSystem(fIsWindowsFileSystem); 1357 /* On Windows it is generally desired to sort file objects case insensitively: */ 1358 if (m_pProxyModel) 1359 { 1360 if (fIsWindowsFileSystem) 1361 m_pProxyModel->setSortCaseSensitivity(Qt::CaseInsensitive); 1362 else 1363 m_pProxyModel->setSortCaseSensitivity(Qt::CaseSensitive); 1364 } 1357 1365 } 1358 1366
Note:
See TracChangeset
for help on using the changeset viewer.