-rw-r--r-- | kaddressbook/xxportselectdialog.cpp | 5 |
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 | |||
@@ -274,13 +274,13 @@ void XXPortSelectDialog::initGUI() | |||
274 | mUseCategories = new QRadioButton( i18n( "By Cate&gories" ), mButtonGroup ); | 274 | mUseCategories = new QRadioButton( i18n( "By Cate&gories" ), mButtonGroup ); |
275 | QWhatsThis::add( mUseCategories, i18n( "Only contacts who are members of a category that is checked on the list to the left.\n" | 275 | QWhatsThis::add( mUseCategories, i18n( "Only contacts who are members of a category that is checked on the list to the left.\n" |
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 ); |
285 | mCategoriesView->addColumn( "" ); | 285 | mCategoriesView->addColumn( "" ); |
286 | mCategoriesView->header()->hide(); | 286 | mCategoriesView->header()->hide(); |
@@ -320,15 +320,18 @@ void XXPortSelectDialog::initGUI() | |||
320 | sortLayout->addWidget( mSortTypeCombo, 1, 1 ); | 320 | sortLayout->addWidget( mSortTypeCombo, 1, 1 ); |
321 | 321 | ||
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 |
331 | } | ||
329 | } | 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 |
334 | 337 | ||