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

fix warning

parent bc239a69
......@@ -81,7 +81,9 @@ QJsonArray AppStreamUtils::licenses(const AppStream::Component& appdata)
QJsonArray ret;
const auto licenses = AppStream::SPDX::tokenizeLicense(appdata.projectLicense());
static const QLatin1String prop ("@LicenseRef-proprietary=");
for (const auto &token : licenses) {
QString license = token;
license.remove(0, 1); //tokenize prefixes with an @ for some reason
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