author | zecke <zecke> | 2005-06-27 18:38:39 (UTC) |
---|---|---|
committer | zecke <zecke> | 2005-06-27 18:38:39 (UTC) |
commit | b82756d94b91516a7c36903648382a224a36f0e2 (patch) (unidiff) | |
tree | 006d574768ad60e94860f9f59a9e91ccf29c71f4 | |
parent | c3d21fe2179b4841cc95b4ee9ecac6b053e9ee17 (diff) | |
download | opie-b82756d94b91516a7c36903648382a224a36f0e2.zip opie-b82756d94b91516a7c36903648382a224a36f0e2.tar.gz opie-b82756d94b91516a7c36903648382a224a36f0e2.tar.bz2 |
Use the two new Sort Flags. I applied an older/wrong version of the patch before
Patch courtsey Marcin Juszkiewicz
-rw-r--r-- | core/pim/today/plugins/addressbook/addresspluginwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
@@ -117,9 +117,9 @@ void AddressBookPluginWidget::getAddress() { | |||
117 | .arg( m_daysLookAhead ) | 117 | .arg( m_daysLookAhead ) |
118 | + "</font> <br>"; | 118 | + "</font> <br>"; |
119 | 119 | ||
120 | // Sort filtered results | 120 | // Sort filtered results |
121 | m_list = m_contactdb->sorted( m_list, true, Opie::OPimContactAccess::SortBirthday, | 121 | m_list = m_contactdb->sorted( m_list, true, Opie::OPimContactAccess::SortBirthdayWithoutYear, |
122 | Opie::OPimContactAccess::FilterOff, 0 ); | 122 | Opie::OPimContactAccess::FilterOff, 0 ); |
123 | 123 | ||
124 | for ( m_it = m_list.begin(); m_it != m_list.end(); ++m_it ) { | 124 | for ( m_it = m_list.begin(); m_it != m_list.end(); ++m_it ) { |
125 | if ( ammount++ < m_maxLinesTask ){ | 125 | if ( ammount++ < m_maxLinesTask ){ |
@@ -174,9 +174,9 @@ void AddressBookPluginWidget::getAddress() { | |||
174 | .arg( m_daysLookAhead ) | 174 | .arg( m_daysLookAhead ) |
175 | + "</font> <br>"; | 175 | + "</font> <br>"; |
176 | 176 | ||
177 | // Sort filtered results | 177 | // Sort filtered results |
178 | m_list = m_contactdb->sorted( m_list, true, Opie::OPimContactAccess::SortAnniversary, | 178 | m_list = m_contactdb->sorted( m_list, true, Opie::OPimContactAccess::SortAnniversaryWithoutYear, |
179 | Opie::OPimContactAccess::FilterOff, 0 ); | 179 | Opie::OPimContactAccess::FilterOff, 0 ); |
180 | 180 | ||
181 | for ( m_it = m_list.begin(); m_it != m_list.end(); ++m_it ) { | 181 | for ( m_it = m_list.begin(); m_it != m_list.end(); ++m_it ) { |
182 | if ( ammount++ < m_maxLinesTask ){ | 182 | if ( ammount++ < m_maxLinesTask ){ |