mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Qt: use native separators when loading content from file browser.
fixes #8403
This commit is contained in:
parent
bf8dcd17f3
commit
02e37718e1
1 changed files with 1 additions and 1 deletions
|
@ -1748,7 +1748,7 @@ QHash<QString, QString> MainWindow::getFileContentHash(const QModelIndex &index)
|
|||
QFileInfo fileInfo = m_fileModel->fileInfo(index);
|
||||
QHash<QString, QString> hash;
|
||||
|
||||
hash["path"] = m_fileModel->filePath(index);;
|
||||
hash["path"] = QDir::toNativeSeparators(m_fileModel->filePath(index));
|
||||
hash["label"] = hash["path"];
|
||||
hash["label_noext"] = fileInfo.completeBaseName();
|
||||
hash["db_name"] = fileInfo.dir().dirName();
|
||||
|
|
Loading…
Add table
Reference in a new issue