newest qt fixes

This commit is contained in:
2020-11-01 00:38:59 +03:00
parent 3e81cd16bb
commit a4a1ae064f
21 changed files with 107 additions and 132 deletions

View File

@ -367,14 +367,8 @@ void ExtWeather::initProvider()
{
delete m_providerObject;
switch (m_provider) {
case Provider::OWM:
m_providerObject = new OWMWeatherProvider(this);
break;
case Provider::Yahoo:
m_providerObject = new YahooWeatherProvider(this);
break;
}
// in the future release it is possible to change provider here
m_providerObject = new OWMWeatherProvider(this);
return m_providerObject->initUrl(city(), country(), ts());
}