Diffstat (limited to 'kaddressbook/xxportselectdialog.cpp') (more/less context) (show whitespace changes)
-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 @@ -277,7 +277,7 @@ void XXPortSelectDialog::initGUI() groupLayout->addWidget( mUseCategories, 3, 0 ); 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." ) ); groupLayout->addWidget( mFiltersCombo, 2, 1 ); @@ -323,10 +323,13 @@ void XXPortSelectDialog::initGUI() if ( !mUseSorting ) sortingGroup->hide(); + if (QApplication::desktop()->width() <= 640 ) { + showMaximized(); #ifndef DESKTOP_VERSION hideButtons(); #endif } +} #ifndef KAB_EMBEDDED #include "xxportselectdialog.moc" |