Diffstat (limited to 'core/pim/addressbook/contacteditor.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 ); |