-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index 6d92ac3..0e752ca 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp | |||
@@ -530,7 +530,4 @@ void ContactEditor::slotChooser3Change( const QString &textChanged ) { | |||
530 | void ContactEditor::slotAddressChange( const QString &textChanged ) { | 530 | void ContactEditor::slotAddressChange( const QString &textChanged ) { |
531 | 531 | ||
532 | qDebug((*slBusinessAddress)[0]); | ||
533 | qDebug((*slHomeAddress)[0]); | ||
534 | qDebug(textChanged); | ||
535 | if ( cmbAddress->currentItem() == 0 ) { | 532 | if ( cmbAddress->currentItem() == 0 ) { |
536 | (*slBusinessAddress)[0] = textChanged; | 533 | (*slBusinessAddress)[0] = textChanged; |
@@ -542,8 +539,4 @@ void ContactEditor::slotAddressChange( const QString &textChanged ) { | |||
542 | void ContactEditor::slotAddress2Change( const QString &textChanged ) { | 539 | void ContactEditor::slotAddress2Change( const QString &textChanged ) { |
543 | 540 | ||
544 | qDebug((*slBusinessAddress)[1]); | ||
545 | qDebug((*slHomeAddress)[1]); | ||
546 | qDebug(textChanged); | ||
547 | |||
548 | if ( cmbAddress->currentItem() == 0 ) { | 541 | if ( cmbAddress->currentItem() == 0 ) { |
549 | (*slBusinessAddress)[1] = textChanged; | 542 | (*slBusinessAddress)[1] = textChanged; |
@@ -555,7 +548,4 @@ void ContactEditor::slotAddress2Change( const QString &textChanged ) { | |||
555 | void ContactEditor::slotPOBoxChange( const QString &textChanged ) { | 548 | void ContactEditor::slotPOBoxChange( const QString &textChanged ) { |
556 | 549 | ||
557 | qDebug((*slBusinessAddress)[2]); | ||
558 | qDebug((*slHomeAddress)[2]); | ||
559 | qDebug(textChanged); | ||
560 | if ( cmbAddress->currentItem() == 0 ) { | 550 | if ( cmbAddress->currentItem() == 0 ) { |
561 | (*slBusinessAddress)[2] = textChanged; | 551 | (*slBusinessAddress)[2] = textChanged; |
@@ -567,7 +557,4 @@ void ContactEditor::slotPOBoxChange( const QString &textChanged ) { | |||
567 | void ContactEditor::slotCityChange( const QString &textChanged ) { | 557 | void ContactEditor::slotCityChange( const QString &textChanged ) { |
568 | 558 | ||
569 | qDebug((*slBusinessAddress)[3]); | ||
570 | qDebug((*slHomeAddress)[3]); | ||
571 | qDebug(textChanged); | ||
572 | if ( cmbAddress->currentItem() == 0 ) { | 559 | if ( cmbAddress->currentItem() == 0 ) { |
573 | (*slBusinessAddress)[3] = textChanged; | 560 | (*slBusinessAddress)[3] = textChanged; |
@@ -580,7 +567,4 @@ void ContactEditor::slotStateChange( const QString &textChanged ) { | |||
580 | 567 | ||
581 | 568 | ||
582 | qDebug((*slBusinessAddress)[4]); | ||
583 | qDebug((*slHomeAddress)[4]); | ||
584 | qDebug(textChanged); | ||
585 | if ( cmbAddress->currentItem() == 0 ) { | 569 | if ( cmbAddress->currentItem() == 0 ) { |
586 | (*slBusinessAddress)[4] = textChanged; | 570 | (*slBusinessAddress)[4] = textChanged; |
@@ -592,7 +576,4 @@ void ContactEditor::slotStateChange( const QString &textChanged ) { | |||
592 | void ContactEditor::slotZipChange( const QString &textChanged ) { | 576 | void ContactEditor::slotZipChange( const QString &textChanged ) { |
593 | 577 | ||
594 | qDebug((*slBusinessAddress)[5]); | ||
595 | qDebug((*slHomeAddress)[5]); | ||
596 | qDebug(textChanged); | ||
597 | if ( cmbAddress->currentItem() == 0 ) { | 578 | if ( cmbAddress->currentItem() == 0 ) { |
598 | (*slBusinessAddress)[5] = textChanged; | 579 | (*slBusinessAddress)[5] = textChanged; |
@@ -604,7 +585,4 @@ void ContactEditor::slotZipChange( const QString &textChanged ) { | |||
604 | void ContactEditor::slotCountryChange( const QString &textChanged ) { | 585 | void ContactEditor::slotCountryChange( const QString &textChanged ) { |
605 | 586 | ||
606 | qDebug((*slBusinessAddress)[6]); | ||
607 | qDebug((*slHomeAddress)[6]); | ||
608 | qDebug(textChanged); | ||
609 | if ( cmbAddress->currentItem() == 0 ) { | 587 | if ( cmbAddress->currentItem() == 0 ) { |
610 | (*slBusinessAddress)[6] = textChanged; | 588 | (*slBusinessAddress)[6] = textChanged; |
@@ -634,14 +612,4 @@ void ContactEditor::slotCmbChooser3Change( int index ) { | |||
634 | void ContactEditor::slotAddressTypeChange( int index ) { | 612 | void ContactEditor::slotAddressTypeChange( int index ) { |
635 | 613 | ||
636 | qDebug((*slBusinessAddress)[0]); | ||
637 | qDebug((*slBusinessAddress)[1]); | ||
638 | qDebug((*slBusinessAddress)[2]); | ||
639 | qDebug((*slBusinessAddress)[3]); | ||
640 | qDebug((*slBusinessAddress)[4]); | ||
641 | qDebug((*slBusinessAddress)[5]); | ||
642 | qDebug((*slBusinessAddress)[6]); | ||
643 | |||
644 | |||
645 | |||
646 | if ( index == 0 ) { | 614 | if ( index == 0 ) { |
647 | 615 | ||
@@ -1003,5 +971,5 @@ void ContactEditor::setEntry( const Contact &entry ) { | |||
1003 | if (hasCity) { | 971 | if (hasCity) { |
1004 | (*slHomeAddress)[3] = ent.homeCity(); | 972 | (*slHomeAddress)[3] = ent.homeCity(); |
1005 | (*slBusinessAddress)[3] = ent.homeCity(); | 973 | (*slBusinessAddress)[3] = ent.businessCity(); |
1006 | } | 974 | } |
1007 | 975 | ||