Sorry! Forgot to compile and check for such a simple change. (Missed a
closing parenthesis)
- Vishesh Handa
On Thu, May 6, 2010 at 1:34 AM, Vishesh Handa <[email protected]> wrote:
> 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