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
@@ -276,9 +276,9 @@ void XXPortSelectDialog::initGUI()
276 "This option is disabled if you have no categories." ) ); 276 "This option is disabled if you have no categories." ) );
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
284 mCategoriesView = new QListView( mButtonGroup ); 284 mCategoriesView = new QListView( mButtonGroup );
@@ -322,12 +322,15 @@ void XXPortSelectDialog::initGUI()
322 topLayout->addWidget( sortingGroup ); 322 topLayout->addWidget( sortingGroup );
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"
333#endif //KAB_EMBEDDED 336#endif //KAB_EMBEDDED