-rw-r--r-- | kabc/addressbook.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kabc/addressbook.cpp b/kabc/addressbook.cpp index bdc2762..ed3ac84 100644 --- a/kabc/addressbook.cpp +++ b/kabc/addressbook.cpp | |||
@@ -397,3 +397,3 @@ void AddressBook::export2File( QString fileName, QString resourceName ) | |||
397 | if ( !resourceName.isEmpty() ) | 397 | if ( !resourceName.isEmpty() ) |
398 | include = (resourceName == (*it).resource()->name() ); | 398 | include = (resourceName == (*it).resource()->resourceName() ); |
399 | if ( include ) { | 399 | if ( include ) { |
@@ -512,3 +512,3 @@ int AddressBook::importFromFile( QString fileName, bool replaceLabel, bool remo | |||
512 | qDebug("SaveAB::checking resource..." ); | 512 | qDebug("SaveAB::checking resource..." ); |
513 | if ( (*it)->name() == resource ) { | 513 | if ( (*it)->resourceName() == resource ) { |
514 | setRes = (*it); | 514 | setRes = (*it); |
@@ -539,3 +539,3 @@ void AddressBook::setUntagged(bool setNonSyncTagged, QString resource) // = fals | |||
539 | for ( ait = begin(); ait != end(); ++ait ) { | 539 | for ( ait = begin(); ait != end(); ++ait ) { |
540 | if ( (*ait).resource() && (*ait).resource()->name() == resource ) { | 540 | if ( (*ait).resource() && (*ait).resource()->resourceName() == resource ) { |
541 | (*ait).setTagged( false ); | 541 | (*ait).setTagged( false ); |