summaryrefslogtreecommitdiffabout
path: root/libkdepim/kpimglobalprefs.cpp
Side-by-side diff
Diffstat (limited to 'libkdepim/kpimglobalprefs.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libkdepim/kpimglobalprefs.cpp8
1 files changed, 3 insertions, 5 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()
{
@@ -128,4 +124,6 @@ void KPimGlobalPrefs::setGlobalConfig()
KPimGlobalPrefs::~KPimGlobalPrefs()
{
+ //qDebug("KPimGlobalPrefs::~KPimGlobalPrefs() ");
+ writeConfig();
}