summaryrefslogtreecommitdiffstats
path: root/kweather/kweather.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kweather/kweather.cpp')
-rw-r--r--kweather/kweather.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/kweather/kweather.cpp b/kweather/kweather.cpp
index 2682a72..62114c1 100644
--- a/kweather/kweather.cpp
+++ b/kweather/kweather.cpp
@@ -349,7 +349,9 @@ void kweather::slotPrefsAccepted()
dockWidget->setViewMode(mViewMode);
setUseIconTheme(useIconTheme);
- slotUpdateNow();
+ if ( !mWeatherService )
+ initDCOP();
+ mWeatherService->forceUpdateAll();
setLabelColor();
emit updateLayout();