-rw-r--r-- | kaddressbook/xxportselectdialog.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kaddressbook/xxportselectdialog.cpp b/kaddressbook/xxportselectdialog.cpp index 0127fc0..e134f97 100644 --- a/kaddressbook/xxportselectdialog.cpp +++ b/kaddressbook/xxportselectdialog.cpp @@ -279,3 +279,3 @@ void XXPortSelectDialog::initGUI() mFiltersCombo = new QComboBox( false, mButtonGroup ); - mFiltersCombo->setSizePolicy(QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ) ); + mFiltersCombo->setSizePolicy(QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) ); QWhatsThis::add( mFiltersCombo, i18n( "Select a filter to decide which contacts to select." ) ); @@ -325,2 +325,4 @@ void XXPortSelectDialog::initGUI() sortingGroup->hide(); + if (QApplication::desktop()->width() <= 640 ) { + showMaximized(); #ifndef DESKTOP_VERSION @@ -328,2 +330,3 @@ void XXPortSelectDialog::initGUI() #endif + } } |