summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/TODO4
-rw-r--r--core/pim/addressbook/contacteditor.cpp3
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
@@ -16,6 +16,4 @@ Important:
- Store last settings of combo-boxes
- Finishing of new View functions (List, Phonebook...)
-- The names of the countries are sorted by there english names, only..
- Even if they are translated.. :S
- Reload if contacts were changed externally
- "What's this" should be added
@@ -45,2 +43,4 @@ Fixed:
- "Nonenglish" translation bug has to be fixed.
- contacteditor: Birthday, annyversary, ... : Use Dateselector
+- The names of the countries are sorted by there english names, only..
+ 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
@@ -39,4 +39,5 @@
#include <qvaluelist.h>
#include <qpopupmenu.h>
+#include <qlistbox.h>
static inline bool containsAlphaNum( const QString &str );
@@ -698,4 +699,6 @@ void ContactEditor::init() {
cmbCountry->insertItem( tr ( "Zambia" ) );
cmbCountry->insertItem( tr ( "Zimbabwe" ) );
+ if (cmbCountry->listBox()!=0)
+ cmbCountry->listBox()->sort();
cmbCountry->setMaximumWidth( 135 );