From ed49c55dac215ac2ed9286ebfc36e5a19417f0bb Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 20 Sep 2004 19:27:24 +0000 Subject: more DTM sync --- (limited to 'kabc/addressbook.cpp') 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; } -- cgit v0.9.0.2