author | eilers <eilers> | 2003-01-02 14:26:06 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-01-02 14:26:06 (UTC) |
commit | 12e9ed4ac80ac7fa042059b48d7447db0e59a86c (patch) (unidiff) | |
tree | 3165bc8422ca5560a30de2a7bf54c0a319516ce7 | |
parent | 85a6acb57bb6a0b7c5340f3f3107c1b39884c023 (diff) | |
download | opie-12e9ed4ac80ac7fa042059b48d7447db0e59a86c.zip opie-12e9ed4ac80ac7fa042059b48d7447db0e59a86c.tar.gz opie-12e9ed4ac80ac7fa042059b48d7447db0e59a86c.tar.bz2 |
Letterpicker now works for lowercase names..
-rw-r--r-- | core/pim/addressbook/TODO | 9 | ||||
-rw-r--r-- | core/pim/addressbook/abview.cpp | 9 |
2 files changed, 13 insertions, 5 deletions
diff --git a/core/pim/addressbook/TODO b/core/pim/addressbook/TODO index df55b2d..1eb537f 100644 --- a/core/pim/addressbook/TODO +++ b/core/pim/addressbook/TODO | |||
@@ -16,8 +16,4 @@ Feature requests: | |||
16 | Known Bugs: | 16 | Known Bugs: |
17 | ----------- | 17 | ----------- |
18 | - Language not English (tested with german opie-translation): | ||
19 | 1. Configure nicht übersetzt (alles leer). | ||
20 | 2. Contacteditor nur teilweise übersetzt. | ||
21 | 3. Kategorie-Picker geht nicht. | ||
22 | 18 | ||
23 | 19 | ||
@@ -37,4 +33,5 @@ ContactEditor: | |||
37 | - Category is on the wrong position after changing to personal and back to normal | 33 | - Category is on the wrong position after changing to personal and back to normal |
38 | ( Temporarily workaround: Category is never deactivated.. :S ) | 34 | ( Temporarily workaround: Category is never deactivated.. :S ) |
35 | |||
39 | - Personal and Business Web-page is not editable | 36 | - Personal and Business Web-page is not editable |
40 | 37 | ||
@@ -108,2 +105,6 @@ Fixed: | |||
108 | - Implement Button Pics | 105 | - Implement Button Pics |
109 | - Add a dialog to accept and optionally edit received contacts by IRDA. | 106 | - Add a dialog to accept and optionally edit received contacts by IRDA. |
107 | - Language not English (tested with german opie-translation): | ||
108 | 1. Configure nicht übersetzt (alles leer). | ||
109 | 2. Contacteditor nur teilweise übersetzt. | ||
110 | 3. Kategorie-Picker geht nicht. | ||
diff --git a/core/pim/addressbook/abview.cpp b/core/pim/addressbook/abview.cpp index 161b163..93e57ca 100644 --- a/core/pim/addressbook/abview.cpp +++ b/core/pim/addressbook/abview.cpp | |||
@@ -154,4 +154,5 @@ void AbView::load() | |||
154 | 154 | ||
155 | if ( m_inPersonal ) | 155 | if ( m_inPersonal ) |
156 | // VCard Backend does not sort.. | ||
156 | m_list = m_contactdb->allRecords(); | 157 | m_list = m_contactdb->allRecords(); |
157 | else{ | 158 | else{ |
@@ -226,6 +227,12 @@ void AbView::setShowByLetter( char c ) | |||
226 | return; | 227 | return; |
227 | }else{ | 228 | }else{ |
229 | // If the current Backend is unable to solve the query, we will | ||
230 | // ignore the request .. | ||
231 | if ( ! m_contactdb->hasQuerySettings( OContactAccess::WildCards | OContactAccess::IgnoreCase ) ){ | ||
232 | return; | ||
233 | } | ||
234 | |||
228 | query.setLastName( QString("%1*").arg(c) ); | 235 | query.setLastName( QString("%1*").arg(c) ); |
229 | m_list = m_contactdb->queryByExample( query, OContactAccess::WildCards ); | 236 | m_list = m_contactdb->queryByExample( query, OContactAccess::WildCards | OContactAccess::IgnoreCase ); |
230 | clearForCategory(); | 237 | clearForCategory(); |
231 | m_curr_Contact = 0; | 238 | m_curr_Contact = 0; |