author | ulf69 <ulf69> | 2004-08-10 19:40:27 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-08-10 19:40:27 (UTC) |
commit | 20a2709f00d4e99eace87338fefc54701fcc47c0 (patch) (unidiff) | |
tree | d0914ea349b33322e837e3e67aacd0bfdc024a81 | |
parent | 2666ac52add8d79e34a04a64e4d5f092dd3d3d7e (diff) | |
download | kdepimpi-20a2709f00d4e99eace87338fefc54701fcc47c0.zip kdepimpi-20a2709f00d4e99eace87338fefc54701fcc47c0.tar.gz kdepimpi-20a2709f00d4e99eace87338fefc54701fcc47c0.tar.bz2 |
release cache of externalapphandler after changes have been applied
-rw-r--r-- | libkdepim/kcmconfigs/kdepimconfigwidget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp index 9964eeb..c8b94db 100644 --- a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp +++ b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp | |||
@@ -281,8 +281,9 @@ void KDEPIMConfigWidget::saveEditFieldSettings() | |||
281 | mPagerOtherMessage = mMessage->text(); | 281 | mPagerOtherMessage = mMessage->text(); |
282 | mPagerOtherMessageParameters = mParameters->text(); | 282 | mPagerOtherMessageParameters = mParameters->text(); |
283 | } | 283 | } |
284 | 284 | ||
285 | |||
285 | } | 286 | } |
286 | 287 | ||
287 | void KDEPIMConfigWidget::updateClientWidgets() | 288 | void KDEPIMConfigWidget::updateClientWidgets() |
288 | { | 289 | { |
@@ -497,8 +498,11 @@ void KDEPIMConfigWidget::saveSettings(KPimGlobalPrefs* prefs) | |||
497 | prefs->mPagerOtherMessageParameters = mPagerOtherMessageParameters; | 498 | prefs->mPagerOtherMessageParameters = mPagerOtherMessageParameters; |
498 | 499 | ||
499 | prefs->writeConfig(); | 500 | prefs->writeConfig(); |
500 | 501 | ||
502 | //release the cache that other views can access the changed values instantanious | ||
503 | ExternalAppHandler::instance()->loadConfig(); | ||
504 | |||
501 | emit changed( false ); | 505 | emit changed( false ); |
502 | } | 506 | } |
503 | 507 | ||
504 | void KDEPIMConfigWidget::defaults(KPimGlobalPrefs* prefs) | 508 | void KDEPIMConfigWidget::defaults(KPimGlobalPrefs* prefs) |