Treat detail filter with unset field like a "detail exists" filter
authorKonstantin Ritt <ritt.ks@gmail.com>
Thu, 9 Jan 2014 21:20:16 +0000 (23:20 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 17 Jan 2014 12:41:47 +0000 (13:41 +0100)
commit1600963c011cfbf95300f0fe4b393b944d6d5180
tree5182029743a4f68ef5faa845d6bf480d060618fd
parent8071fa2b1b2eab2f2e5983e40a95ff73fa0ea2bb
Treat detail filter with unset field like a "detail exists" filter

QtContacts filters already meant that; do the same for QtOrganizer filters.

Change-Id: I1af2d10f1456fb0763a5e078f9ab901eed0873a9
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
src/contacts/filters/qcontactdetailfilter.cpp
src/contacts/filters/qcontactdetailrangefilter.cpp
src/organizer/filters/qorganizeritemdetailfieldfilter.cpp
src/organizer/filters/qorganizeritemdetailfieldfilter.h
src/organizer/filters/qorganizeritemdetailrangefilter.cpp
src/organizer/filters/qorganizeritemdetailrangefilter.h
tests/auto/organizer/qorganizeritemfilter/tst_qorganizeritemfilter.cpp