Commit 96f60fe6 authored by Fushan Wen's avatar Fushan Wen Committed by Nate Graham
Browse files

dataengines/potd: Use references in `sendXmlRequest`

parent 4eb1c0a2
Pipeline #141156 passed with stage
in 3 minutes and 6 seconds
......@@ -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)
if (apiKey.isNull()) {
......@@ -40,7 +40,7 @@ public:
~FlickrProvider() override;
void sendXmlRequest(QString apiKey, QString apiSecret);
void sendXmlRequest(const QString &apiKey, const QString &apiSecret);
void xmlRequestFinished(KJob *job);
void imageRequestFinished(KJob *job);
Supports Markdown
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