parent
292d3f59fc
commit
a0a08cf568
@ -1,19 +0,0 @@
|
|||||||
diff -up baloo-5.45.0/src/file/fileindexerconfig.cpp.baloofile_config baloo-5.45.0/src/file/fileindexerconfig.cpp
|
|
||||||
--- baloo-5.45.0/src/file/fileindexerconfig.cpp.baloofile_config 2018-04-07 14:32:21.000000000 -0500
|
|
||||||
+++ baloo-5.45.0/src/file/fileindexerconfig.cpp 2018-04-08 07:53:43.984930379 -0500
|
|
||||||
@@ -318,8 +318,13 @@ void FileIndexerConfig::buildFolderCache
|
|
||||||
}
|
|
||||||
|
|
||||||
KConfigGroup group = m_config.group("General");
|
|
||||||
- QStringList includeFoldersPlain = group.readPathEntry("folders", QStringList() << QDir::homePath());
|
|
||||||
- QStringList excludeFoldersPlain = group.readPathEntry("exclude folders", QStringList());
|
|
||||||
+ QStringList includeFoldersPlain = group.readPathEntry("folders", QStringList() <<
|
|
||||||
+ QStandardPaths::standardLocations(QStandardPaths::DocumentsLocation) <<
|
|
||||||
+ QStandardPaths::standardLocations(QStandardPaths::MusicLocation) <<
|
|
||||||
+ QStandardPaths::standardLocations(QStandardPaths::MoviesLocation) <<
|
|
||||||
+ QStandardPaths::standardLocations(QStandardPaths::PicturesLocation)
|
|
||||||
+ );
|
|
||||||
+ QStringList excludeFoldersPlain = group.readPathEntry("exclude folders", QStringList() << QDir::homePath());
|
|
||||||
|
|
||||||
// Add all removable media and network shares as ignored unless they have
|
|
||||||
// been explicitly added in the include list
|
|
@ -0,0 +1,21 @@
|
|||||||
|
diff -ur baloo-5.67.0/src/lib/baloosettings.kcfg baloo-5.67.0-baloofile_config/src/lib/baloosettings.kcfg
|
||||||
|
--- baloo-5.67.0/src/lib/baloosettings.kcfg 2020-02-02 13:42:43.000000000 +0100
|
||||||
|
+++ baloo-5.67.0-baloofile_config/src/lib/baloosettings.kcfg 2020-02-03 22:19:59.824381582 +0100
|
||||||
|
@@ -31,11 +31,15 @@
|
||||||
|
</entry>
|
||||||
|
<entry name="excludedFolders" key="exclude folders" type="PathList">
|
||||||
|
<label>exclude folders</label>
|
||||||
|
- <default code="true">QStringList()</default>
|
||||||
|
+ <default code="true">QStringList() << QDir::homePath()</default>
|
||||||
|
</entry>
|
||||||
|
<entry name="folders" type="PathList">
|
||||||
|
<label>folders</label>
|
||||||
|
- <default code="true">QStringList() << QDir::homePath()</default>
|
||||||
|
+ <default code="true">QStringList() <<
|
||||||
|
+ QStandardPaths::standardLocations(QStandardPaths::DocumentsLocation) <<
|
||||||
|
+ QStandardPaths::standardLocations(QStandardPaths::MusicLocation) <<
|
||||||
|
+ QStandardPaths::standardLocations(QStandardPaths::MoviesLocation) <<
|
||||||
|
+ QStandardPaths::standardLocations(QStandardPaths::PicturesLocation)</default>
|
||||||
|
</entry>
|
||||||
|
<entry name="excludedMimetypes" key="exclude mimetypes" type="StringList">
|
||||||
|
<label>exclude mimetypes</label>
|
Loading…
Reference in new issue