From 1d85487ea3810f194b22c1bc55efc28d5280a9b7 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 29 Jan 2022 13:15:28 +0200 Subject: [PATCH] Fix compatibility with Qt 5.6. --- src/libs/ifc/xml/vbackgroundpatternimage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/ifc/xml/vbackgroundpatternimage.cpp b/src/libs/ifc/xml/vbackgroundpatternimage.cpp index 17dd9f635..324865816 100644 --- a/src/libs/ifc/xml/vbackgroundpatternimage.cpp +++ b/src/libs/ifc/xml/vbackgroundpatternimage.cpp @@ -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; }