summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (show 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
@@ -277,7 +277,7 @@ void XXPortSelectDialog::initGUI()
277 groupLayout->addWidget( mUseCategories, 3, 0 ); 277 groupLayout->addWidget( mUseCategories, 3, 0 );
278 278
279 mFiltersCombo = new QComboBox( false, mButtonGroup ); 279 mFiltersCombo = new QComboBox( false, mButtonGroup );
280 mFiltersCombo->setSizePolicy(QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ) ); 280 mFiltersCombo->setSizePolicy(QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
281 QWhatsThis::add( mFiltersCombo, i18n( "Select a filter to decide which contacts to select." ) ); 281 QWhatsThis::add( mFiltersCombo, i18n( "Select a filter to decide which contacts to select." ) );
282 groupLayout->addWidget( mFiltersCombo, 2, 1 ); 282 groupLayout->addWidget( mFiltersCombo, 2, 1 );
283 283
@@ -323,10 +323,13 @@ void XXPortSelectDialog::initGUI()
323 323
324 if ( !mUseSorting ) 324 if ( !mUseSorting )
325 sortingGroup->hide(); 325 sortingGroup->hide();
326 if (QApplication::desktop()->width() <= 640 ) {
327 showMaximized();
326#ifndef DESKTOP_VERSION 328#ifndef DESKTOP_VERSION
327 hideButtons(); 329 hideButtons();
328#endif 330#endif
329} 331}
332}
330 333
331#ifndef KAB_EMBEDDED 334#ifndef KAB_EMBEDDED
332#include "xxportselectdialog.moc" 335#include "xxportselectdialog.moc"