Commit 001d6afe authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix compile on qt5.12

parent 2f6de7d9
......@@ -695,7 +695,7 @@ QString Util::parseBodyStyle(const QString &style)
const int indexEnd = style.indexOf(QLatin1Char('"'), indexStyle + 7);
if (indexEnd != -1) {
const QStringRef styleStr = style.midRef(indexStyle + 7, indexEnd - (indexStyle + 7));
const auto lstStyle = styleStr.split(QLatin1Char(';'), Qt::SkipEmptyParts);
const auto lstStyle = styleStr.split(QLatin1Char(';'), QString::SkipEmptyParts);
QStringList lst;
for (const auto &style : lstStyle) {
if (style.trimmed().contains(QLatin1String("white-space"))) {
......
Markdown is supported
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