Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Add-ons
Commits
96f60fe6
Commit
96f60fe6
authored
Feb 23, 2022
by
Fushan Wen
Committed by
Nate Graham
Feb 22, 2022
Browse files
dataengines/potd: Use references in `sendXmlRequest`
parent
4eb1c0a2
Pipeline
#141156
passed with stage
in 3 minutes and 6 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
dataengines/potd/flickrprovider.cpp
View file @
96f60fe6
...
...
@@ -39,7 +39,7 @@ FlickrProvider::FlickrProvider(QObject *parent, const QVariantList &args)
FlickrProvider
::~
FlickrProvider
()
=
default
;
void
FlickrProvider
::
sendXmlRequest
(
QString
apiKey
,
QString
apiSecret
)
void
FlickrProvider
::
sendXmlRequest
(
const
QString
&
apiKey
,
const
QString
&
apiSecret
)
{
Q_UNUSED
(
apiSecret
);
if
(
apiKey
.
isNull
())
{
...
...
dataengines/potd/flickrprovider.h
View file @
96f60fe6
...
...
@@ -40,7 +40,7 @@ public:
~
FlickrProvider
()
override
;
private:
void
sendXmlRequest
(
QString
apiKey
,
QString
apiSecret
);
void
sendXmlRequest
(
const
QString
&
apiKey
,
const
QString
&
apiSecret
);
void
xmlRequestFinished
(
KJob
*
job
);
void
imageRequestFinished
(
KJob
*
job
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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