diff --git a/src/duckstation-qt/mainwindow.cpp b/src/duckstation-qt/mainwindow.cpp index c137c41fd..3def9ff76 100644 --- a/src/duckstation-qt/mainwindow.cpp +++ b/src/duckstation-qt/mainwindow.cpp @@ -2698,7 +2698,7 @@ static QString getFilenameFromMimeData(const QMimeData* md) // only one url accepted const QList urls(md->urls()); if (urls.size() == 1) - filename = urls.front().toLocalFile(); + filename = QDir::toNativeSeparators(urls.front().toLocalFile()); } return filename;