Commit 74406150 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

fix build for older Qt to 5.14.0

parent 505190fb
......@@ -111,7 +111,7 @@ QStringList AppStreamUtils::appstreamIds(const QUrl &appstreamUrl)
ret += appstreamUrl.host().isEmpty() ? appstreamUrl.path() : appstreamUrl.host();
if (appstreamUrl.hasQuery()) {
QUrlQuery query(appstreamUrl);
ret << query.queryItemValue(QStringLiteral("alt")).split(QLatin1Char(','), Qt::SkipEmptyParts);
ret << query.queryItemValue(QStringLiteral("alt")).split(QLatin1Char(','), QString::SkipEmptyParts);
}
return ret;
}
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