summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/browsedirtree.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-08-09 16:21:51 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-08-09 16:21:51 +0000
commit5cbb826140f62fa94e2c0bd9d744004130f81d58 (patch)
tree163f2f70627b7eedcf172c0da5e7ac864cd8cc74 /rbutil/rbutilqt/browsedirtree.cpp
parent8dbc7e350b9ec9a5461eefe0437d5d484b8bd534 (diff)
downloadrockbox-5cbb826140f62fa94e2c0bd9d744004130f81d58.tar.gz
rockbox-5cbb826140f62fa94e2c0bd9d744004130f81d58.tar.bz2
rockbox-5cbb826140f62fa94e2c0bd9d744004130f81d58.zip
tree browser: return native path delimiters in returned path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14257 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/browsedirtree.cpp')
-rw-r--r--rbutil/rbutilqt/browsedirtree.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/browsedirtree.cpp b/rbutil/rbutilqt/browsedirtree.cpp
index c8203e1821..80dc6910ac 100644
--- a/rbutil/rbutilqt/browsedirtree.cpp
+++ b/rbutil/rbutilqt/browsedirtree.cpp
@@ -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);
}