mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Qt: use native path separators for file browser content
This commit is contained in:
parent
f6dc3345e9
commit
d571bfaf17
@ -1399,7 +1399,7 @@ void MainWindow::selectBrowserDir(QString path)
|
|||||||
QString fileName = dirList.at(i);
|
QString fileName = dirList.at(i);
|
||||||
QTableWidgetItem *item = new QTableWidgetItem(fileName);
|
QTableWidgetItem *item = new QTableWidgetItem(fileName);
|
||||||
QHash<QString, QString> hash;
|
QHash<QString, QString> hash;
|
||||||
QString filePath(dir.absoluteFilePath(fileName));
|
QString filePath(QDir::toNativeSeparators(dir.absoluteFilePath(fileName)));
|
||||||
QFileInfo fileInfo(filePath);
|
QFileInfo fileInfo(filePath);
|
||||||
|
|
||||||
hash["path"] = filePath;
|
hash["path"] = filePath;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user