summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/installtalkwindow.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2010-02-16 21:38:00 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2010-02-16 21:38:00 +0000
commitd2cead083fb37bbb6ba09a84cd74534c061eea22 (patch)
tree72c76c0788cdda3d68e011e3de84f494ce3cb1c1 /rbutil/rbutilqt/installtalkwindow.cpp
parent7e91332e398db9f344e44df3b2ea29adc94ad56e (diff)
downloadrockbox-d2cead083fb37bbb6ba09a84cd74534c061eea22.tar.gz
rockbox-d2cead083fb37bbb6ba09a84cd74534c061eea22.tar.bz2
rockbox-d2cead083fb37bbb6ba09a84cd74534c061eea22.zip
Start with mountpoint as folder to talk selection if old value is invalid.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24704 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/installtalkwindow.cpp')
-rw-r--r--rbutil/rbutilqt/installtalkwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/installtalkwindow.cpp b/rbutil/rbutilqt/installtalkwindow.cpp
index 8c09d684c8..405b3b05e0 100644
--- a/rbutil/rbutilqt/installtalkwindow.cpp
+++ b/rbutil/rbutilqt/installtalkwindow.cpp
@@ -50,7 +50,7 @@ void InstallTalkWindow::browseFolder()
}
else
{
- startfolder = "/media"; // FIXME: This looks Linux specific
+ startfolder = RbSettings::value(RbSettings::Mountpoint).toString();
}
selected = QFileDialog::getExistingDirectory(this,
tr("Select folder to create talk files"), startfolder);