summaryrefslogtreecommitdiff
path: root/core
Side-by-side diff
Diffstat (limited to 'core') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/addressbook/contacteditor.cpp34
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
@@ -531,5 +531,2 @@ void ContactEditor::slotAddressChange( const QString &textChanged ) {
- qDebug((*slBusinessAddress)[0]);
- qDebug((*slHomeAddress)[0]);
- qDebug(textChanged);
if ( cmbAddress->currentItem() == 0 ) {
@@ -543,6 +540,2 @@ void ContactEditor::slotAddress2Change( const QString &textChanged ) {
- qDebug((*slBusinessAddress)[1]);
- qDebug((*slHomeAddress)[1]);
- qDebug(textChanged);
-
if ( cmbAddress->currentItem() == 0 ) {
@@ -556,5 +549,2 @@ void ContactEditor::slotPOBoxChange( const QString &textChanged ) {
- qDebug((*slBusinessAddress)[2]);
- qDebug((*slHomeAddress)[2]);
- qDebug(textChanged);
if ( cmbAddress->currentItem() == 0 ) {
@@ -568,5 +558,2 @@ void ContactEditor::slotCityChange( const QString &textChanged ) {
- qDebug((*slBusinessAddress)[3]);
- qDebug((*slHomeAddress)[3]);
- qDebug(textChanged);
if ( cmbAddress->currentItem() == 0 ) {
@@ -581,5 +568,2 @@ void ContactEditor::slotStateChange( const QString &textChanged ) {
- qDebug((*slBusinessAddress)[4]);
- qDebug((*slHomeAddress)[4]);
- qDebug(textChanged);
if ( cmbAddress->currentItem() == 0 ) {
@@ -593,5 +577,2 @@ void ContactEditor::slotZipChange( const QString &textChanged ) {
- qDebug((*slBusinessAddress)[5]);
- qDebug((*slHomeAddress)[5]);
- qDebug(textChanged);
if ( cmbAddress->currentItem() == 0 ) {
@@ -605,5 +586,2 @@ void ContactEditor::slotCountryChange( const QString &textChanged ) {
- qDebug((*slBusinessAddress)[6]);
- qDebug((*slHomeAddress)[6]);
- qDebug(textChanged);
if ( cmbAddress->currentItem() == 0 ) {
@@ -635,12 +613,2 @@ void ContactEditor::slotAddressTypeChange( int index ) {
- qDebug((*slBusinessAddress)[0]);
- qDebug((*slBusinessAddress)[1]);
- qDebug((*slBusinessAddress)[2]);
-qDebug((*slBusinessAddress)[3]);
-qDebug((*slBusinessAddress)[4]);
-qDebug((*slBusinessAddress)[5]);
-qDebug((*slBusinessAddress)[6]);
-
-
-
if ( index == 0 ) {
@@ -1004,3 +972,3 @@ void ContactEditor::setEntry( const Contact &entry ) {
(*slHomeAddress)[3] = ent.homeCity();
- (*slBusinessAddress)[3] = ent.homeCity();
+ (*slBusinessAddress)[3] = ent.businessCity();
}