From 062113379f93ed645d2f246183c89eb8b6814834 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 01 Aug 2004 19:29:37 +0000 Subject: sync dialog fixes --- (limited to 'libkdepim/ksyncprofile.cpp') diff --git a/libkdepim/ksyncprofile.cpp b/libkdepim/ksyncprofile.cpp index 425285e..fcbb326 100644 --- a/libkdepim/ksyncprofile.cpp +++ b/libkdepim/ksyncprofile.cpp @@ -96,8 +96,8 @@ void KSyncProfile::setDefault() } void KSyncProfile::readConfig(KConfig *config ) { - config->setGroup("SyncProfiles"); - QString prefix = "Profile_"+mName+"_"; + config->setGroup(mName); + QString prefix = ""; //mName = config->readEntry( prefix+ "Name", mName ); mPreSyncCommand = config->readEntry( prefix+ "PreSyncCommand",mPreSyncCommand ); mPostSyncCommand = config->readEntry( prefix+ "PostSyncCommand", mPostSyncCommand );; @@ -127,8 +127,8 @@ void KSyncProfile::readConfig(KConfig *config ) } void KSyncProfile::writeConfig( KConfig * config ) { - config->setGroup("SyncProfiles"); - QString prefix = "Profile_"+mName+"_"; + config->setGroup(mName ); + QString prefix = ""; // config->writeEntry( prefix+ "Name", mName ); config->writeEntry( prefix+ "PreSyncCommand",mPreSyncCommand ); config->writeEntry( prefix+ "PostSyncCommand", mPostSyncCommand ); -- cgit v0.9.0.2