From f64384edcc1e3b3f7511480866b0900aa1ebdda6 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 17 Apr 2005 11:24:27 +0000 Subject: fixx --- (limited to 'kaddressbook') 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,9 +323,12 @@ void XXPortSelectDialog::initGUI() if ( !mUseSorting ) sortingGroup->hide(); + if (QApplication::desktop()->width() <= 640 ) { + showMaximized(); #ifndef DESKTOP_VERSION hideButtons(); #endif + } } #ifndef KAB_EMBEDDED -- cgit v0.9.0.2