kdeplasma-addons: adjust weather wallpaper to recent changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-07-16 03:34:54 +03:00
parent e4b67f8165
commit 6a6038b3f5

View file

@ -170,6 +170,7 @@ QWidget * WeatherWallpaper::createConfigurationInterface(QWidget * parent)
connect(m_configWidget, SIGNAL(destroyed(QObject*)), this, SLOT(configWidgetDestroyed()));
m_configWidget->setDataEngines(locationEngine, weatherEngine);
m_configWidget->setSource(m_source);
m_configWidget->setIon("wettercom");
m_configWidget->setUpdateInterval(m_weatherUpdateTime);
m_configWidget->setConfigurableUnits(WeatherConfig::None);
m_configWidget->setHeadersVisible(false);
@ -520,7 +521,7 @@ void WeatherWallpaper::connectWeatherSource()
loadImage();
// We can see if we can be nice and figure out where the user is
m_weatherLocation = new WeatherLocation(this);
connect(m_weatherLocation, SIGNAL(finished(QString)),
connect(m_weatherLocation, SIGNAL(valid(QString)),
this, SLOT(locationReady(QString)));
m_weatherLocation->setDataEngines(locationEngine, weatherEngine);
m_weatherLocation->getDefault("wettercom");