mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 07:35:41 +00:00
Qt: Fix drag/drop on Windows
This commit is contained in:
parent
be1d558be1
commit
9eb9fc9dce
|
@ -2698,7 +2698,7 @@ static QString getFilenameFromMimeData(const QMimeData* md)
|
|||
// only one url accepted
|
||||
const QList<QUrl> urls(md->urls());
|
||||
if (urls.size() == 1)
|
||||
filename = urls.front().toLocalFile();
|
||||
filename = QDir::toNativeSeparators(urls.front().toLocalFile());
|
||||
}
|
||||
|
||||
return filename;
|
||||
|
|
Loading…
Reference in a new issue