Commit e27ba2d1 authored by Tiernan Hubble's avatar Tiernan Hubble Committed by Nate Graham
Browse files

Fix Environment Canada weather domain.


(cherry picked from commit a36ffb69)
parent d22bbe1b
......@@ -515,7 +515,7 @@ void EnvCanadaIon::getXMLSetup()
// If network is down, we need to spin and wait
const QUrl url(QStringLiteral("http://dd.weatheroffice.ec.gc.ca/citypage_weather/xml/siteList.xml"));
const QUrl url(QStringLiteral("http://dd.weather.gc.ca/citypage_weather/xml/siteList.xml"));
KIO::TransferJob* getJob = KIO::get(url, KIO::NoReload, KIO::HideProgressInfo);
......@@ -543,7 +543,7 @@ void EnvCanadaIon::getXMLData(const QString& source)
dataKey.remove(QStringLiteral("envcan|weather|"));
const XMLMapInfo& place = m_places[dataKey];
const QUrl url(QLatin1String("http://dd.weatheroffice.ec.gc.ca/citypage_weather/xml/") + place.territoryName + QLatin1Char('/') + place.cityCode + QStringLiteral("_e.xml"));
const QUrl url(QLatin1String("http://dd.weather.gc.ca/citypage_weather/xml/") + place.territoryName + QLatin1Char('/') + place.cityCode + QStringLiteral("_e.xml"));
//url="file:///home/spstarr/Desktop/s0000649_e.xml";
//qCDebug(IONENGINE_ENVCAN) << "Will Try URL: " << url;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment