Or if you want the more elegant version. I removed the comment as it seemed
unnecessary.
- Vishesh Handa
Index: strigiserviceconfig.cpp
===================================================================
--- strigiserviceconfig.cpp (revision 1122801)
+++ strigiserviceconfig.cpp (working copy)
@@ -198,7 +198,7 @@ namespace {
bool included = false;
for ( int i = 0; i < folders.count(); ++i ) {
if ( f != folders[i].first &&
- f.startsWith( folders[i].first ) )
+ f.startsWith( KUrl( folders[i].first ).path( KUrl::AddTrailingSlash ) )
included = folders[i].second;
}
return included == include;
_______________________________________________
Nepomuk mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/nepomuk