Fix compatibility with Qt 5.6.
This commit is contained in:
parent
992375c754
commit
1d85487ea3
|
@ -282,7 +282,7 @@ auto VBackgroundPatternImage::Type() const -> PatternImage
|
||||||
|
|
||||||
QMimeType mime = MimeTypeFromData();
|
QMimeType mime = MimeTypeFromData();
|
||||||
|
|
||||||
if (mime.name().startsWith(u"image/svg+xml"))
|
if (mime.name().startsWith(QStringLiteral("image/svg+xml")))
|
||||||
{
|
{
|
||||||
return PatternImage::Vector;
|
return PatternImage::Vector;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user