summaryrefslogtreecommitdiffabout
path: root/libkdepim/kpimprefs.cpp
Unidiff
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 ) :
43#else 43#else
44 QString hdp= locateLocal("data","korganizer")+"/"; 44 QString hdp= locateLocal("data","korganizer")+"/";
45#endif 45#endif
46 config()->setGroup("SyncOptions"); 46 setCurrentGroup("SyncOptions");
47 addItemString("PassiveSyncPort",&mPassiveSyncPort,"9197" ); 47 addItemString("PassiveSyncPort",&mPassiveSyncPort,"9197" );
48 addItemString("PassiveSyncPw",&mPassiveSyncPw,"abc" ); 48 addItemString("PassiveSyncPw",&mPassiveSyncPw,"abc" );
49 addItemString("LastSyncedLocalFile", &mLastSyncedLocalFile ,hdp +"lastsync.ics" ); 49 addItemString("LastSyncedLocalFile", &mLastSyncedLocalFile ,hdp +"lastsync.ics" );
@@ -63,9 +63,7 @@ void KPimPrefs::usrSetDefaults()
63 63
64void KPimPrefs::usrReadConfig() 64void KPimPrefs::usrReadConfig()
65{ 65{
66 kdDebug(5300) << "KPimPrefs::usrReadConfig()" << endl; 66 config()->setGroup("General");
67
68 config()->setGroup("General");
69 mCustomCategories = config()->readListEntry("Custom Categories"); 67 mCustomCategories = config()->readListEntry("Custom Categories");
70 if (mCustomCategories.isEmpty()) setCategoryDefaults(); 68 if (mCustomCategories.isEmpty()) setCategoryDefaults();
71} 69}