FileViewList: Use original paths instead of canonical paths
This commit is contained in:
@@ -72,7 +72,7 @@ QList<QUrl> FileViewList::UrlListFromSelection() const {
|
|||||||
const QModelIndexList indexes = menu_selection_.indexes();
|
const QModelIndexList indexes = menu_selection_.indexes();
|
||||||
for (const QModelIndex &index : indexes) {
|
for (const QModelIndex &index : indexes) {
|
||||||
if (index.column() == 0) {
|
if (index.column() == 0) {
|
||||||
filenames << qobject_cast<QFileSystemModel*>(model())->fileInfo(index).canonicalFilePath();
|
filenames << QDir::cleanPath(qobject_cast<QFileSystemModel*>(model())->fileInfo(index).filePath());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user