Exclude query results located on removed media.
authorAndrew den Exter <andrew.den.exter@jollamobile.com>
Wed, 19 Feb 2014 06:37:58 +0000 (06:37 +0000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 25 Feb 2014 00:33:59 +0000 (01:33 +0100)
commit18b3452a003f4ae9c2fccd5de0d9ab6c6c9d49bd
treec64956d9dd233c3c86196eb1eb176d476c2abc0f
parentf412b081ef85a16f0703608317ba57f4103bdd5b
Exclude query results located on removed media.

Only include results whose tracker:available property is true, or if
query is for an aggregate type then only include results which aggregate
data from a item with a true tracker:available property.

Change-Id: Iaf7487fb33fa0f7bdc0537ba3240fa4cb2c93a44
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
src/gallery/tracker/qgallerytrackerschema.cpp
tests/auto/qgallerytrackerschema_tracker/tst_qgallerytrackerschema.cpp