fixed by properly converting from a file path and converting to native seperators.
should have known naive handling of file path as a URL would come back to bite us cross platform.

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2023-01-02 08:55:32 -07:00
parent 30b01ef053
commit a4870d4834
2 changed files with 4 additions and 4 deletions

View File

@ -1827,7 +1827,7 @@ void MainWindow::processURLs(QList<QUrl> urls)
break;
}
auto localFileName = url.toLocalFile();
auto localFileName = QDir::toNativeSeparators(url.toLocalFile()) ;
QFileInfo localFileInfo(localFileName);
auto type = ResourceUtils::identify(localFileInfo);