summaryrefslogtreecommitdiffabout
path: root/kaddressbook/incsearchwidget.cpp
Unidiff
Diffstat (limited to 'kaddressbook/incsearchwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/incsearchwidget.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/kaddressbook/incsearchwidget.cpp b/kaddressbook/incsearchwidget.cpp
index 314de10..7577079 100644
--- a/kaddressbook/incsearchwidget.cpp
+++ b/kaddressbook/incsearchwidget.cpp
@@ -123,7 +123,9 @@ void IncSearchWidget::setSize()
123 } else { 123 } else {
124 QFontMetrics fm ( mFieldCombo->font() ); 124 QFontMetrics fm ( mFieldCombo->font() );
125 int wid = fm.width(i18n( "All Fields" ) ); 125 int wid = fm.width(i18n( "All Fields" ) );
126 int max = wid; 126#ifdef DESKTOP_VERSION
127 wid = wid * 2;
128#endif
127 mFieldCombo->setMaximumWidth( wid+60 ); 129 mFieldCombo->setMaximumWidth( wid+60 );
128 mSearchText->setMaximumWidth( 1024 ); 130 mSearchText->setMaximumWidth( 1024 );
129 } 131 }