summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-04-17 11:24:27 (UTC)
committer zautrix <zautrix>2005-04-17 11:24:27 (UTC)
commitf64384edcc1e3b3f7511480866b0900aa1ebdda6 (patch) (side-by-side diff)
tree3ca1b2511624b8ae2ee9e9bc35d7e1b65e3b860c
parentff7743ec82aa6d70325e613d0a1054c7de83a76c (diff)
downloadkdepimpi-f64384edcc1e3b3f7511480866b0900aa1ebdda6.zip
kdepimpi-f64384edcc1e3b3f7511480866b0900aa1ebdda6.tar.gz
kdepimpi-f64384edcc1e3b3f7511480866b0900aa1ebdda6.tar.bz2
fixx
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
@@ -272,17 +272,17 @@ void XXPortSelectDialog::initGUI()
groupLayout->addWidget( mUseFilters, 2, 0 );
mUseCategories = new QRadioButton( i18n( "By Cate&gories" ), mButtonGroup );
QWhatsThis::add( mUseCategories, i18n( "Only contacts who are members of a category that is checked on the list to the left.\n"
"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 );
mCategoriesView->addColumn( "" );
mCategoriesView->header()->hide();
QWhatsThis::add( mCategoriesView, i18n( "Check the categories whose members you want to select." ) );
groupLayout->addWidget( mCategoriesView, 3, 1 );
@@ -318,18 +318,21 @@ void XXPortSelectDialog::initGUI()
mSortTypeCombo = new KComboBox( sortingGroup );
#endif //KAB_EMBEDDED
sortLayout->addWidget( mSortTypeCombo, 1, 1 );
topLayout->addWidget( sortingGroup );
if ( !mUseSorting )
sortingGroup->hide();
+ if (QApplication::desktop()->width() <= 640 ) {
+ showMaximized();
#ifndef DESKTOP_VERSION
hideButtons();
#endif
}
+}
#ifndef KAB_EMBEDDED
#include "xxportselectdialog.moc"
#endif //KAB_EMBEDDED