summaryrefslogtreecommitdiffabout
path: root/libkdepim
Side-by-side diff
Diffstat (limited to 'libkdepim') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/kpimglobalprefs.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/libkdepim/kpimglobalprefs.cpp b/libkdepim/kpimglobalprefs.cpp
index b71e18d..5081b26 100644
--- a/libkdepim/kpimglobalprefs.cpp
+++ b/libkdepim/kpimglobalprefs.cpp
@@ -63,7 +63,4 @@ KPimGlobalPrefs::KPimGlobalPrefs( const QString &name )
addItemInt("DaylightsavingEnd",&mDaylightsavingEnd,304);
-
-
-
KPrefs::setCurrentGroup( "ExternalApplications" );
@@ -100,5 +97,4 @@ KPimGlobalPrefs::KPimGlobalPrefs( const QString &name )
addItemString( "SIPChannelParameters", &mSipOtherMessageParameters, "" );
-
KPrefs::setCurrentGroup( "PhoneAccess" );
addItemString("Ex2PhoneDevice",&mEx2PhoneDevice,"/dev/ircomm");
@@ -106,7 +102,7 @@ KPimGlobalPrefs::KPimGlobalPrefs( const QString &name )
addItemString("Ex2PhoneModel",&mEx2PhoneModel,"6310i");
-
}
+
void KPimGlobalPrefs::setGlobalConfig()
{
@@ -127,5 +123,7 @@ void KPimGlobalPrefs::setGlobalConfig()
}
KPimGlobalPrefs::~KPimGlobalPrefs()
-{
+{
+ //qDebug("KPimGlobalPrefs::~KPimGlobalPrefs() ");
+ writeConfig();
}