Diffstat (limited to 'kaddressbook/phoneeditwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/phoneeditwidget.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kaddressbook/phoneeditwidget.cpp b/kaddressbook/phoneeditwidget.cpp index a435959..2bce39a 100644 --- a/kaddressbook/phoneeditwidget.cpp +++ b/kaddressbook/phoneeditwidget.cpp | |||
@@ -395,9 +395,12 @@ PhoneEditDialog::PhoneEditDialog( const KABC::PhoneNumber::List &list, QWidget * | |||
395 | 395 | ||
396 | KABC::PhoneNumber::List::Iterator it; | 396 | KABC::PhoneNumber::List::Iterator it; |
397 | for ( it = mPhoneNumberList.begin(); it != mPhoneNumberList.end(); ++it ) | 397 | for ( it = mPhoneNumberList.begin(); it != mPhoneNumberList.end(); ++it ) |
398 | new PhoneViewItem( mListView, *it ); | 398 | new PhoneViewItem( mListView, *it ); |
399 | 399 | if (QApplication::desktop()->width() < 480 ) | |
400 | showMaximized(); | ||
401 | else | ||
402 | resize( 400, 400 ); | ||
400 | mChanged = false; | 403 | mChanged = false; |
401 | } | 404 | } |
402 | 405 | ||
403 | PhoneEditDialog::~PhoneEditDialog() | 406 | PhoneEditDialog::~PhoneEditDialog() |