Diffstat (limited to 'kaddressbook/phoneeditwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/phoneeditwidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kaddressbook/phoneeditwidget.h b/kaddressbook/phoneeditwidget.h index fbf9fe7..f61087b 100644 --- a/kaddressbook/phoneeditwidget.h +++ b/kaddressbook/phoneeditwidget.h | |||
@@ -100,6 +100,8 @@ public: | |||
100 | mMinusButton = new QPushButton ( this ); | 100 | mMinusButton = new QPushButton ( this ); |
101 | mMinusButton->setPixmap ( SmallIcon("minus")); | 101 | mMinusButton->setPixmap ( SmallIcon("minus")); |
102 | mCombo = new KComboBox( this ); | 102 | mCombo = new KComboBox( this ); |
103 | if ( QApplication::desktop()->width() <= 640 ) | ||
104 | mCombo->setSizeLimit ( 6 ); | ||
103 | mNumber = new KLineEdit( this ); | 105 | mNumber = new KLineEdit( this ); |
104 | mMinusButton->setMaximumHeight( mNumber->sizeHint().height() + 6); | 106 | mMinusButton->setMaximumHeight( mNumber->sizeHint().height() + 6); |
105 | lay->addWidget( mMinusButton ); | 107 | lay->addWidget( mMinusButton ); |