-rw-r--r-- | pwmanager/pwmanager/main.cpp | 2 | ||||
-rw-r--r-- | pwmanager/pwmanager/pwm.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/main.cpp b/pwmanager/pwmanager/main.cpp index 3f2d055..81e257f 100644 --- a/pwmanager/pwmanager/main.cpp +++ b/pwmanager/pwmanager/main.cpp @@ -205,5 +205,5 @@ int main(int argc, char *argv[]) */ a.exec(); - + KPimGlobalPrefs::instance()->writeConfig(); } qDebug("PWMPI: Bye! "); diff --git a/pwmanager/pwmanager/pwm.cpp b/pwmanager/pwmanager/pwm.cpp index b7b5307..d92c90d 100644 --- a/pwmanager/pwmanager/pwm.cpp +++ b/pwmanager/pwmanager/pwm.cpp @@ -173,4 +173,5 @@ PwM::PwM(PwMInit *_init, PwMDoc *doc, , forceMinimizeToTray (false) { + syncManager = 0; virgin = !virginity; init = _init; @@ -200,4 +201,5 @@ PwM::~PwM() //qDebug("PwM::~PwM() emited closed(this)"); delete view; + delete syncManager; } |