summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-05-18 10:38:26 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-05-18 10:38:26 +0000
commit01f72230832bf7c441d5f1695130db790b053a12 (patch)
tree7f8c931ac7dc0f2fbff7f29e0feaee18b8b61a25 /rbutil
parent476d28963df4093b70d50bf58d57183436359dcc (diff)
downloadrockbox-01f72230832bf7c441d5f1695130db790b053a12.tar.gz
rockbox-01f72230832bf7c441d5f1695130db790b053a12.tar.bz2
rockbox-01f72230832bf7c441d5f1695130db790b053a12.zip
don't save mountpoint using native separators in the configuration. Makes things more consistent and fixes browsing the backup folder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17568 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/configure.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp
index 7a93a1aaac..350c923b08 100644
--- a/rbutil/rbutilqt/configure.cpp
+++ b/rbutil/rbutilqt/configure.cpp
@@ -115,7 +115,7 @@ void Config::accept()
// mountpoint
QString mp = ui.mountPoint->text();
if(QFileInfo(mp).isDir())
- settings->setMountpoint( mp);
+ settings->setMountpoint(QDir::fromNativeSeparators(mp));
// platform
QString nplat;
@@ -193,7 +193,7 @@ void Config::setUserSettings()
ui.listLanguages->setCurrentItem(a.at(0));
// devices tab
- ui.mountPoint->setText(settings->mountpoint());
+ ui.mountPoint->setText(QDir::toNativeSeparators(settings->mountpoint()));
// cache tab
if(!QFileInfo(settings->cachePath()).isDir())