fix: fix #700
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user