Commit ec1026bc authored by Fushan Wen's avatar Fushan Wen 💬 Committed by Nate Graham
Browse files

wallpapers/potd: link to collection url for `UnsplashProvider`

Currently it's not possible to infer the real wallpaper info url from
the image url, so just link to the collection url instead.
parent cf41c3ff
Pipeline #190497 passed with stage
in 1 minute and 36 seconds
......@@ -25,6 +25,8 @@ UnsplashProvider::UnsplashProvider(QObject *parent, const KPluginMetaData &data,
const QUrl url(QStringLiteral("").arg(collectionId));
potdProviderData()->wallpaperInfoUrl = QUrl(QStringLiteral("").arg(collectionId));
KIO::StoredTransferJob *job = KIO::storedGet(url, KIO::NoReload, KIO::HideProgressInfo);
connect(job, &KIO::StoredTransferJob::finished, this, &UnsplashProvider::imageRequestFinished);
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