summaryrefslogtreecommitdiff
Unidiff
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
@@ -14,10 +14,8 @@ Important:
14 -> Ablabel should be removed and Abtable should be increased with 14 -> Ablabel should be removed and Abtable should be increased with
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
23Less important: 21Less important:
@@ -43,4 +41,6 @@ Fixed:
43- Font menu is invisible using german translation 41- Font menu is invisible using german translation
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
@@ -37,8 +37,9 @@
37#include <qpushbutton.h> 37#include <qpushbutton.h>
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
42static inline bool containsAlphaNum( const QString &str ); 43static inline bool containsAlphaNum( const QString &str );
43static inline bool constainsWhiteSpace( const QString &str ); 44static inline bool constainsWhiteSpace( const QString &str );
44 45
@@ -696,8 +697,10 @@ void ContactEditor::init() {
696 cmbCountry->insertItem( tr ( "Yemen" ) ); 697 cmbCountry->insertItem( tr ( "Yemen" ) );
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
703 gl->addMultiCellWidget( cmbCountry, 5, 5, 1, 2 ); 706 gl->addMultiCellWidget( cmbCountry, 5, 5, 1, 2 );