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

Fix warning with appstream < 0.15.6

parent d414f0a3
Pipeline #227631 passed with stage
in 2 minutes and 35 seconds
......@@ -155,6 +155,7 @@ QString AppStreamUtils::contentRatingDescription(const AppStream::Component &app
return ret;
#else
Q_UNUSED(appdata);
return {};
#endif
}
......@@ -180,6 +181,7 @@ QString AppStreamUtils::contentRatingText(const AppStream::Component &appdata)
};
return texts[intensity];
#else
Q_UNUSED(appdata);
return {};
#endif
}
......@@ -205,6 +207,7 @@ AbstractResource::ContentIntensity AppStreamUtils::contentRatingIntensity(const
};
return intensities[intensity];
#else
Q_UNUSED(appdata);
return {};
#endif
}
......@@ -219,6 +222,7 @@ uint AppStreamUtils::contentRatingMinimumAge(const AppStream::Component &appdata
}
return minimumAge;
#else
Q_UNUSED(appdata);
return 0;
#endif
}
Supports Markdown
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