-rw-r--r-- | core/pim/addressbook/TODO | 4 | ||||
-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/core/pim/addressbook/TODO b/core/pim/addressbook/TODO index 100a6fd..654bbd2 100644 --- a/core/pim/addressbook/TODO +++ b/core/pim/addressbook/TODO | |||
@@ -15,8 +15,6 @@ Important: | |||
15 | different views (as started by darwin zins).. | 15 | different views (as started by darwin zins).. |
16 | - Store last settings of combo-boxes | 16 | - Store last settings of combo-boxes |
17 | - Finishing of new View functions (List, Phonebook...) | 17 | - Finishing of new View functions (List, Phonebook...) |
18 | - The names of the countries are sorted by there english names, only.. | ||
19 | Even if they are translated.. :S | ||
20 | - Reload if contacts were changed externally | 18 | - Reload if contacts were changed externally |
21 | - "What's this" should be added | 19 | - "What's this" should be added |
22 | 20 | ||
@@ -44,3 +42,5 @@ Fixed: | |||
44 | - Personal contact editor: Disable categories | 42 | - Personal contact editor: Disable categories |
45 | - "Nonenglish" translation bug has to be fixed. | 43 | - "Nonenglish" translation bug has to be fixed. |
46 | - contacteditor: Birthday, annyversary, ... : Use Dateselector | 44 | - contacteditor: Birthday, annyversary, ... : Use Dateselector |
45 | - The names of the countries are sorted by there english names, only.. | ||
46 | Even if they are translated.. :S | ||
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index a59a927..52ab0f2 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp | |||
@@ -38,6 +38,7 @@ | |||
38 | #include <qmainwindow.h> | 38 | #include <qmainwindow.h> |
39 | #include <qvaluelist.h> | 39 | #include <qvaluelist.h> |
40 | #include <qpopupmenu.h> | 40 | #include <qpopupmenu.h> |
41 | #include <qlistbox.h> | ||
41 | 42 | ||
42 | static inline bool containsAlphaNum( const QString &str ); | 43 | static inline bool containsAlphaNum( const QString &str ); |
43 | static inline bool constainsWhiteSpace( const QString &str ); | 44 | static inline bool constainsWhiteSpace( const QString &str ); |
@@ -697,6 +698,8 @@ void ContactEditor::init() { | |||
697 | cmbCountry->insertItem( tr ( "Yugoslavia" ) ); | 698 | cmbCountry->insertItem( tr ( "Yugoslavia" ) ); |
698 | cmbCountry->insertItem( tr ( "Zambia" ) ); | 699 | cmbCountry->insertItem( tr ( "Zambia" ) ); |
699 | cmbCountry->insertItem( tr ( "Zimbabwe" ) ); | 700 | cmbCountry->insertItem( tr ( "Zimbabwe" ) ); |
701 | if (cmbCountry->listBox()!=0) | ||
702 | cmbCountry->listBox()->sort(); | ||
700 | 703 | ||
701 | cmbCountry->setMaximumWidth( 135 ); | 704 | cmbCountry->setMaximumWidth( 135 ); |
702 | 705 | ||