Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Add-ons
Commits
84e805ca
Commit
84e805ca
authored
Oct 08, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add url info
parent
15f5ac5e
Pipeline
#36761
passed with stage
in 78 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
korganizer/plugins/picoftheday/picoftheday.cpp
korganizer/plugins/picoftheday/picoftheday.cpp
+3
-1
No files found.
korganizer/plugins/picoftheday/picoftheday.cpp
View file @
84e805ca
...
...
@@ -17,7 +17,7 @@
#include <QDomDocument>
#include <QPointer>
//https://www.mediawiki.org/wiki/API:Picture_of_the_day_viewer
Picoftheday
::
Picoftheday
()
{
KConfig
_config
(
QStringLiteral
(
"korganizerrc"
));
...
...
@@ -74,6 +74,8 @@ void POTDElement::step1StartDownload()
if
(
!
mFirstStepCompleted
&&
!
mFirstStepJob
)
{
QUrl
url
=
QUrl
(
QStringLiteral
(
"https://en.wikipedia.org/w/index.php?title=Template:POTD_protected/"
)
+
mDate
.
toString
(
Qt
::
ISODate
)
+
QStringLiteral
(
"&action=raw"
));
// The file at that URL contains the file name for the POTD
qCWarning
(
KORGANIZERPICOFTHEDAYPLUGIN_LOG
)
<<
"step1StartDownload 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