FileViewList: Use original paths instead of canonical paths

This commit is contained in:
Jonas Kvinge 2024-05-12 21:38:15 +02:00
parent decabe8d47
commit 4a24605361
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ QList<QUrl> FileViewList::UrlListFromSelection() const {
const QModelIndexList indexes = menu_selection_.indexes();
for (const QModelIndex &index : indexes) {
if (index.column() == 0) {
filenames << qobject_cast<QFileSystemModel*>(model())->fileInfo(index).canonicalFilePath();
filenames << QDir::cleanPath(qobject_cast<QFileSystemModel*>(model())->fileInfo(index).filePath());
}
}