Verified Commit 45b2bc87 authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

shell: add more mimetypes in WallpaperPackage

parent fd3ef7c3
Pipeline #194445 passed with stage
in 11 minutes and 42 seconds
......@@ -25,7 +25,16 @@ void WallpaperPackage::initPackage(KPackage::Package *package)
i18n("Images for dark color scheme"));
QStringList mimetypes;
mimetypes << QStringLiteral("image/svg") << QStringLiteral("image/png") << QStringLiteral("image/jpeg") << QStringLiteral("image/jpg");
mimetypes << QStringLiteral("image/avif") //
<< QStringLiteral("image/bmp") //
<< QStringLiteral("image/gif") //
<< QStringLiteral("image/heif") //
<< QStringLiteral("image/jpeg") //
<< QStringLiteral("image/jpg") //
<< QStringLiteral("image/png") //
<< QStringLiteral("image/svg") //
<< QStringLiteral("image/tiff") //
<< QStringLiteral("image/webp");
package->setMimeTypes("images", mimetypes);
package->setMimeTypes(QByteArrayLiteral("images_dark"), mimetypes);
......
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