summaryrefslogtreecommitdiffabout
path: root/kabc
Side-by-side diff
Diffstat (limited to 'kabc') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/addressbook.cpp6
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 )
if ( !resourceName.isEmpty() )
- include = (resourceName == (*it).resource()->name() );
+ include = (resourceName == (*it).resource()->resourceName() );
if ( include ) {
@@ -512,3 +512,3 @@ int AddressBook::importFromFile( QString fileName, bool replaceLabel, bool remo
qDebug("SaveAB::checking resource..." );
- if ( (*it)->name() == resource ) {
+ if ( (*it)->resourceName() == resource ) {
setRes = (*it);
@@ -539,3 +539,3 @@ void AddressBook::setUntagged(bool setNonSyncTagged, QString resource) // = fals
for ( ait = begin(); ait != end(); ++ait ) {
- if ( (*ait).resource() && (*ait).resource()->name() == resource ) {
+ if ( (*ait).resource() && (*ait).resource()->resourceName() == resource ) {
(*ait).setTagged( false );