mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-21 02:52:50 -05:00
tree browser: return native path delimiters in returned path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14257 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8dbc7e350b
commit
5cbb826140
1 changed files with 2 additions and 2 deletions
|
|
@ -64,7 +64,7 @@ void BrowseDirtree::accept()
|
|||
path = model.filePath(ui.tree->currentIndex());
|
||||
|
||||
this->close();
|
||||
emit itemChanged(path);
|
||||
emit itemChanged(QDir::toNativeSeparators(path));
|
||||
setResult(QDialog::Accepted);
|
||||
}
|
||||
|
||||
|
|
@ -72,7 +72,7 @@ QString BrowseDirtree::getSelected()
|
|||
{
|
||||
QString path;
|
||||
path = model.filePath(ui.tree->currentIndex());
|
||||
return path;
|
||||
return QDir::toNativeSeparators(path);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue