[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/nepomuk/kioslaves/search
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2010-11-19 14:54:29
Message-ID: 20101119145429.A4F00AC8A0 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1198746 by trueg:
Do only query files with proper nie:url when we are listing a FileQuery. That
way we hide the embedded file objects which represent video or audio streams and the \
like.
M +2 -2 searchfolder.cpp
--- trunk/KDE/kdebase/runtime/nepomuk/kioslaves/search/searchfolder.cpp \
#1198745:1198746 @@ -62,8 +62,8 @@
// parse URL (this may fail in which case we fall back to pure SPARQL below)
m_query = Nepomuk::Query::Query::fromQueryUrl( url );
- // the only request property we handle is nie:url
- m_query.setRequestProperties( QList<Query::Query::RequestProperty>() << \
Query::Query::RequestProperty( Nepomuk::Vocabulary::NIE::url() ) ); + // the only \
request property we handle is nie:url (non-optional for file-queries) + \
m_query.setRequestProperties( QList<Query::Query::RequestProperty>() << \
Query::Query::RequestProperty( Nepomuk::Vocabulary::NIE::url(), \
!m_query.isFileQuery() ) );
if ( m_query.isValid() ) {
kDebug() << "Extracted query" << m_query;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic