summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/documentlist.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/launcher/documentlist.cpp b/core/launcher/documentlist.cpp
index fdba687..9736e65 100644
--- a/core/launcher/documentlist.cpp
+++ b/core/launcher/documentlist.cpp
@@ -441,6 +441,11 @@ void DocumentListPrivate::appendDocpath(FileSystem*fs)
}
Config conf(f.filePath(), Config::File );
conf.setGroup("subdirs");
+ bool read_all = conf.readBoolEntry("wholemedia",true);
+ if (read_all) {
+ docPaths+=fs->path();
+ return;
+ }
QStringList subDirs = conf.readListEntry("subdirs",':');
if (subDirs.isEmpty()) {
if (defPath.exists()) {