summaryrefslogtreecommitdiffabout
path: root/libkdepim/kpimprefs.cpp
authorzautrix <zautrix>2005-02-03 02:19:50 (UTC)
committer zautrix <zautrix>2005-02-03 02:19:50 (UTC)
commite0fce8c0f108e054cb6e4e4767affd04b398da45 (patch) (side-by-side diff)
tree17414f89b5042809bab5b738dfcc37b4375b3b6d /libkdepim/kpimprefs.cpp
parent7e3c508b7ee613c534c2bf0cacf38f96efaef613 (diff)
downloadkdepimpi-e0fce8c0f108e054cb6e4e4767affd04b398da45.zip
kdepimpi-e0fce8c0f108e054cb6e4e4767affd04b398da45.tar.gz
kdepimpi-e0fce8c0f108e054cb6e4e4767affd04b398da45.tar.bz2
fixxx
Diffstat (limited to 'libkdepim/kpimprefs.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/kpimprefs.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/libkdepim/kpimprefs.cpp b/libkdepim/kpimprefs.cpp
index a05e65f..d68ccb6 100644
--- a/libkdepim/kpimprefs.cpp
+++ b/libkdepim/kpimprefs.cpp
@@ -43,7 +43,7 @@ KPimPrefs::KPimPrefs( const QString &name ) :
#else
QString hdp= locateLocal("data","korganizer")+"/";
#endif
- config()->setGroup("SyncOptions");
+ setCurrentGroup("SyncOptions");
addItemString("PassiveSyncPort",&mPassiveSyncPort,"9197" );
addItemString("PassiveSyncPw",&mPassiveSyncPw,"abc" );
addItemString("LastSyncedLocalFile", &mLastSyncedLocalFile ,hdp +"lastsync.ics" );
@@ -63,9 +63,7 @@ void KPimPrefs::usrSetDefaults()
void KPimPrefs::usrReadConfig()
{
- kdDebug(5300) << "KPimPrefs::usrReadConfig()" << endl;
-
- config()->setGroup("General");
+ config()->setGroup("General");
mCustomCategories = config()->readListEntry("Custom Categories");
if (mCustomCategories.isEmpty()) setCategoryDefaults();
}