Commit 045ad712 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use QVariant::toUrl() over QVariant::value<QUrl>()

parent 3c08bc12
......@@ -77,9 +77,9 @@ void ComicData::setData(const Plasma::DataEngine::Data &data)
mAdditionalText = data[QStringLiteral("Additional text")].toString();
}
mWebsiteUrl = data[QStringLiteral("Website Url")].value<QUrl>();
mImageUrl = data[QStringLiteral("Image Url")].value<QUrl>();
mShopUrl = data[QStringLiteral("Shop Url")].value<QUrl>();
mWebsiteUrl = data[QStringLiteral("Website Url")].toUrl();
mImageUrl = data[QStringLiteral("Image Url")].toUrl();
mShopUrl = data[QStringLiteral("Shop Url")].toUrl();
mFirst = data[QStringLiteral("First strip identifier suffix")].toString();
mStripTitle = data[QStringLiteral("Strip title")].toString();
mAuthor = data[QStringLiteral("Comic Author")].toString();
......
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