Fix compatibility with Qt 5.6.

This commit is contained in:
Roman Telezhynskyi 2022-01-29 13:15:28 +02:00
parent 992375c754
commit 1d85487ea3

View File

@ -282,7 +282,7 @@ auto VBackgroundPatternImage::Type() const -> PatternImage
QMimeType mime = MimeTypeFromData();
if (mime.name().startsWith(u"image/svg+xml"))
if (mime.name().startsWith(QStringLiteral("image/svg+xml")))
{
return PatternImage::Vector;
}