summaryrefslogtreecommitdiff
authortille <tille>2002-10-25 21:13:51 (UTC)
committer tille <tille>2002-10-25 21:13:51 (UTC)
commit595407074ac5724eb33aeb151ce27e38fbca21d5 (patch) (unidiff)
tree5f29c9fe9e2c06cc887726e475e50da47e67803c
parent437330505960e2783e088049665e0a11b2dc7edb (diff)
downloadopie-595407074ac5724eb33aeb151ce27e38fbca21d5.zip
opie-595407074ac5724eb33aeb151ce27e38fbca21d5.tar.gz
opie-595407074ac5724eb33aeb151ce27e38fbca21d5.tar.bz2
sorts the tanslated country now
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:
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
@@ -45,2 +43,4 @@ Fixed:
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
@@ -39,4 +39,5 @@
39#include <qvaluelist.h> 39#include <qvaluelist.h>
40#include <qpopupmenu.h> 40#include <qpopupmenu.h>
41#include <qlistbox.h>
41 42
42static inline bool containsAlphaNum( const QString &str ); 43static inline bool containsAlphaNum( const QString &str );
@@ -698,4 +699,6 @@ void ContactEditor::init() {
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 );