Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
Plasma Workspace
Commits
e27ba2d1
Commit
e27ba2d1
authored
Nov 28, 2020
by
Tiernan Hubble
Committed by
Nate Graham
Nov 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Environment Canada weather domain.
(cherry picked from commit
a36ffb69
)
parent
d22bbe1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dataengines/weather/ions/envcan/ion_envcan.cpp
dataengines/weather/ions/envcan/ion_envcan.cpp
+2
-2
No files found.
dataengines/weather/ions/envcan/ion_envcan.cpp
View file @
e27ba2d1
...
...
@@ -515,7 +515,7 @@ void EnvCanadaIon::getXMLSetup()
// If network is down, we need to spin and wait
const
QUrl
url
(
QStringLiteral
(
"http://dd.weather
office.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.weather
office.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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment