From b82756d94b91516a7c36903648382a224a36f0e2 Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 27 Jun 2005 18:38:39 +0000 Subject: Use the two new Sort Flags. I applied an older/wrong version of the patch before Patch courtsey Marcin Juszkiewicz --- diff --git a/core/pim/today/plugins/addressbook/addresspluginwidget.cpp b/core/pim/today/plugins/addressbook/addresspluginwidget.cpp index d74df51..7346cae 100644 --- a/core/pim/today/plugins/addressbook/addresspluginwidget.cpp +++ b/core/pim/today/plugins/addressbook/addresspluginwidget.cpp @@ -118,7 +118,7 @@ void AddressBookPluginWidget::getAddress() { + "
"; // Sort filtered results - m_list = m_contactdb->sorted( m_list, true, Opie::OPimContactAccess::SortBirthday, + m_list = m_contactdb->sorted( m_list, true, Opie::OPimContactAccess::SortBirthdayWithoutYear, Opie::OPimContactAccess::FilterOff, 0 ); for ( m_it = m_list.begin(); m_it != m_list.end(); ++m_it ) { @@ -175,7 +175,7 @@ void AddressBookPluginWidget::getAddress() { + "
"; // Sort filtered results - m_list = m_contactdb->sorted( m_list, true, Opie::OPimContactAccess::SortAnniversary, + m_list = m_contactdb->sorted( m_list, true, Opie::OPimContactAccess::SortAnniversaryWithoutYear, Opie::OPimContactAccess::FilterOff, 0 ); for ( m_it = m_list.begin(); m_it != m_list.end(); ++m_it ) { -- cgit v0.9.0.2