summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/xxportselectdialog.cpp5
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
@@ -276,9 +276,9 @@ void XXPortSelectDialog::initGUI()
"This option is disabled if you have no categories." ) );
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 );
mCategoriesView = new QListView( mButtonGroup );
@@ -322,11 +322,14 @@ void XXPortSelectDialog::initGUI()
topLayout->addWidget( sortingGroup );
if ( !mUseSorting )
sortingGroup->hide();
+ if (QApplication::desktop()->width() <= 640 ) {
+ showMaximized();
#ifndef DESKTOP_VERSION
hideButtons();
#endif
+ }
}
#ifndef KAB_EMBEDDED
#include "xxportselectdialog.moc"