Commit 2f89bc09 authored by Vishesh Handa's avatar Vishesh Handa
Browse files

Nepomuk Config: Ignore cases when there is no mount point

In some cases the mount point is empty. We do not want to store records
for those cases under their own group as that would intefere with the
genreal list of include/exclude folders.

The people affected by this bug should clear their nepomukstrigirc file.

Patch by Franz Fellner <alpine.art.kde@googlemail.com>

BUG: 314980
FIXED-IN: 4.10.1
parent 981caa1d
......@@ -334,6 +334,9 @@ void Nepomuk2::ServerConfigModule::save()
KConfigGroup group = fileIndexerConfig.group( groupName );
QString mountPath = entry->mountPath();
if( mountPath.isEmpty() )
continue;
group.writeEntry( "mount path", mountPath );
QStringList includes;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment