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
@@ -278,5 +278,5 @@ 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." ) );
groupLayout->addWidget( mFiltersCombo, 2, 1 );
@@ -324,7 +324,10 @@ void XXPortSelectDialog::initGUI()
if ( !mUseSorting )
sortingGroup->hide();
+ if (QApplication::desktop()->width() <= 640 ) {
+ showMaximized();
#ifndef DESKTOP_VERSION
hideButtons();
#endif
+ }
}