summaryrefslogtreecommitdiffstats
path: root/kweather
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-12-21 10:29:28 +0200
committerMavridis Philippe <mavridisf@gmail.com>2022-01-14 12:39:18 +0200
commit257301adc00e7adab75adf9103a5564572a99972 (patch)
tree16f9ab8046fd338f5556384f409636ba5f0fb123 /kweather
parentc0d50863dffd6b5b7a5737a01c5cd93be6bc53d9 (diff)
downloadtdetoys-257301adc00e7adab75adf9103a5564572a99972.tar.gz
tdetoys-257301adc00e7adab75adf9103a5564572a99972.zip
Force all stations to update.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'kweather')
-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();