mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Fix cache path selection on Windows only allowing to select drives (FS#10013 by Yoshihisa Uchida).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20319 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
85317f4bf9
commit
42483bacc8
1 changed files with 1 additions and 1 deletions
|
|
@ -518,7 +518,7 @@ void Config::browseCache()
|
|||
#if defined(Q_OS_LINUX) || defined(Q_OS_MACX)
|
||||
cbrowser->setFilter(QDir::AllDirs | QDir::NoDotAndDotDot | QDir::NoSymLinks);
|
||||
#elif defined(Q_OS_WIN32)
|
||||
cbrowser->setFilter(QDir::Drives);
|
||||
cbrowser->setFilter(QDir::Drives | QDir::AllDirs | QDir::NoDotAndDotDot);
|
||||
#endif
|
||||
cbrowser->setDir(ui.cachePath->text());
|
||||
connect(cbrowser, SIGNAL(itemChanged(QString)), this, SLOT(setCache(QString)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue