Make sort order with unset field act on a detail presence
authorKonstantin Ritt <ritt.ks@gmail.com>
Tue, 21 Jan 2014 18:59:14 +0000 (20:59 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 28 Jan 2014 00:18:39 +0000 (01:18 +0100)
commit412ecec49982042df859b22dfddac8091d156ad7
tree130d73e40281814eb3397ff2a692b05d6286983c
parente68e01efe021c4a4d1f6fc6e70e0e6463934162e
Make sort order with unset field act on a detail presence

...so that the organizer item with a detail of the specified type
would appear before or after the organizer item that lacks a detail
of the specified type, according to sortorder's blankPolicy().

Change-Id: I9ca28dc03dc5d6d4a28475ee91509fd0d5eee2ac
Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
src/contacts/qcontactmanagerengine.cpp
src/contacts/qcontactsortorder.cpp
src/contacts/qcontactsortorder.h
src/organizer/qorganizeritemsortorder.cpp
src/organizer/qorganizeritemsortorder.h
src/organizer/qorganizermanagerengine.cpp
tests/auto/contacts/qcontactsortorder/tst_qcontactsortorder.cpp
tests/auto/organizer/qorganizeritemsortorder/tst_qorganizeritemsortorder.cpp