summaryrefslogtreecommitdiffabout
path: root/kaddressbook/addresseeeditorwidget.cpp
Side-by-side diff
Diffstat (limited to 'kaddressbook/addresseeeditorwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/addresseeeditorwidget.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/kaddressbook/addresseeeditorwidget.cpp b/kaddressbook/addresseeeditorwidget.cpp
index 50b6b6d..4db0a20 100644
--- a/kaddressbook/addresseeeditorwidget.cpp
+++ b/kaddressbook/addresseeeditorwidget.cpp
@@ -301,5 +301,5 @@ void AddresseeEditorWidget::setupTab1()
*/
///////////////////////////////////////
- QHBox *categoryBox = new QHBox( tab1 );
+ QHBox *categoryBox = new QHBox( tab1 ,"cato");
categoryBox->setSpacing( KDialogBase::spacingHint() );
categoryBox->setMargin( KDialogBase::marginHintSmall() );
@@ -615,5 +615,4 @@ void AddresseeEditorWidget::setupTab2()
QHBox * nbox = new QHBox ( tab2 );
label = new QLabel( i18n( "Nick name:" )+" ", nbox );
- layout->addWidget( label, iii, 1 );
mNicknameEdit = new KLineEdit( nbox );
connect( mNicknameEdit, SIGNAL( textChanged( const QString& ) ),
@@ -622,10 +621,8 @@ void AddresseeEditorWidget::setupTab2()
label = new QLabel( " "+i18n( "Spouse's name:" )+" ", nbox );
- layout->addWidget( label, iii, 1 );
mSpouseEdit = new KLineEdit( nbox );
connect( mSpouseEdit, SIGNAL( textChanged( const QString& ) ),
SLOT( textChanged( const QString& ) ) );
label->setBuddy( mSpouseEdit );
- layout->addWidget( mSpouseEdit, iii, 2 );
layout->addMultiCellWidget( nbox, iii, iii, 1, 2 );
++iii;
@@ -662,5 +659,4 @@ void AddresseeEditorWidget::setupTab2()
QHBox * nbox = new QHBox ( tab2 );
label = new QLabel( i18n( "Birthday:" )+" ", nbox );
- layout->addWidget( label, iii, 1 );
mBirthdayPicker = new KDateEdit( nbox );
mBirthdayPicker->toggleDateFormat();
@@ -672,5 +668,4 @@ void AddresseeEditorWidget::setupTab2()
label = new QLabel( " "+i18n( "Anniversary:" )+" ", nbox );
- layout->addWidget( label, iii, 1 );
mAnniversaryPicker = new KDateEdit( nbox );
mAnniversaryPicker->setHandleInvalid( true );