[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/runtime/nepomuk/services/strigi
From:       Sebastian Trueg <sebastian () trueg ! de>
Date:       2010-09-13 18:43:00
Message-ID: 20100913184300.64C65AC887 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1174972 by trueg:

properly fix the compile error - this is why I break stuff on Mondays. :)

 M  +4 -4      indexscheduler.cpp  


--- trunk/KDE/kdebase/runtime/nepomuk/services/strigi/indexscheduler.cpp \
#1174971:1174972 @@ -619,14 +619,14 @@
     // We look for indexed files that do not have a nie:url defined and thus, will \
never be catched by any of the  // other queries.
     //
-#if 0
-    query = Query::Query(
+    Query::Query q(
         Strigi::Ontology::indexGraphFor() == ( Soprano::Vocabulary::RDF::type() == \
                Query::ResourceTerm( Nepomuk::Vocabulary::NFO::FileDataObject() ) &&
                                                !( Nepomuk::Vocabulary::NIE::url() == \
                Query::Term() ) )
-        ).toSparqlQuery(Query::Query::NoResultRestrictions);
+        );
+    q.setQueryFlags(Query::Query::NoResultRestrictions);
+    query = q.toSparqlQuery();
     kDebug() << query;
     removeAllGraphsFromQuery( query );
-#endif
 }
 
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic