diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-12-21 10:29:28 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2022-01-14 12:39:18 +0200 |
commit | 257301adc00e7adab75adf9103a5564572a99972 (patch) | |
tree | 16f9ab8046fd338f5556384f409636ba5f0fb123 | |
parent | c0d50863dffd6b5b7a5737a01c5cd93be6bc53d9 (diff) | |
download | tdetoys-257301adc00e7adab75adf9103a5564572a99972.tar.gz tdetoys-257301adc00e7adab75adf9103a5564572a99972.zip |
Force all stations to update.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
-rw-r--r-- | kweather/kweather.cpp | 4 |
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(); |