-rw-r--r-- | kabc/addressbook.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kabc/addressbook.cpp b/kabc/addressbook.cpp index 17b9ba2..adb451f 100644 --- a/kabc/addressbook.cpp +++ b/kabc/addressbook.cpp @@ -254,8 +254,11 @@ void AddressBook::init(const QString &config, const QString &family ) con->writeEntry( "ResourceName", QString("sync_res") ); if ( config.right(4) == ".xml" ) con->writeEntry( "ResourceType", QString("qtopia") ); - else + else if ( config == "sharp" ) { + con->writeEntry( "ResourceType", QString("sharp") ); + } else { con->writeEntry( "ResourceType", QString("file") ); + } //con->sync(); d->mConfig = con; } |