summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/contacteditor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp
index 0c90510..66e94ef 100644
--- a/core/pim/addressbook/contacteditor.cpp
+++ b/core/pim/addressbook/contacteditor.cpp
@@ -264,7 +264,7 @@ void ContactEditor::init() {
264 QWidget *container = new QWidget( svGeneral->viewport() ); 264 QWidget *container = new QWidget( svGeneral->viewport() );
265 svGeneral->addChild( container ); 265 svGeneral->addChild( container );
266 266
267 QGridLayout *gl = new QGridLayout( container ); 267 QGridLayout *gl = new QGridLayout( container, 1, 1, 2, 3 );
268 gl->setResizeMode( QLayout::FreeResize ); 268 gl->setResizeMode( QLayout::FreeResize );
269 269
270 btnFullName = new QPushButton( tr( "Full Name..." ), container ); 270 btnFullName = new QPushButton( tr( "Full Name..." ), container );
@@ -327,7 +327,7 @@ void ContactEditor::init() {
327 container = new QWidget( svAddress->viewport() ); 327 container = new QWidget( svAddress->viewport() );
328 svAddress->addChild( container ); 328 svAddress->addChild( container );
329 329
330 gl = new QGridLayout( container, 5, 3, 0, 1 ); 330 gl = new QGridLayout( container, 5, 3, 2, 3 );
331 331
332 cmbAddress = new QComboBox( FALSE, container ); 332 cmbAddress = new QComboBox( FALSE, container );
333 cmbAddress->insertItem( tr( "Business" ) ); 333 cmbAddress->insertItem( tr( "Business" ) );
@@ -392,7 +392,7 @@ void ContactEditor::init() {
392 container = new QWidget( svDetails->viewport() ); 392 container = new QWidget( svDetails->viewport() );
393 svDetails->addChild( container ); 393 svDetails->addChild( container );
394 394
395 gl = new QGridLayout( container, 1, 2, 0, 1 ); 395 gl = new QGridLayout( container, 1, 2, 2, 3 );
396 396
397 QStringList::ConstIterator it = slDynamicEntries->begin(); 397 QStringList::ConstIterator it = slDynamicEntries->begin();
398 for (i = 0; it != slDynamicEntries->end(); i++, ++it) { 398 for (i = 0; it != slDynamicEntries->end(); i++, ++it) {
@@ -423,7 +423,7 @@ void ContactEditor::init() {
423 423
424 dlgName = new QDialog( this, "Name Dialog", TRUE ); 424 dlgName = new QDialog( this, "Name Dialog", TRUE );
425 dlgName->setCaption( tr("Edit Name") ); 425 dlgName->setCaption( tr("Edit Name") );
426 gl = new QGridLayout( dlgName, 4, 2, 0, 1 ); 426 gl = new QGridLayout( dlgName, 4, 2, 2, 3 );
427 427
428 l = new QLabel( tr("First Name"), dlgName ); 428 l = new QLabel( tr("First Name"), dlgName );
429 gl->addWidget( l, 0, 0 ); 429 gl->addWidget( l, 0, 0 );