Commit e273bd5d authored by Jan Grulich's avatar Jan Grulich

Fix comparison between appstream ids

When we construct a QUrl from an appstream id using capital letters
it will be converted to lower letters which makes comparison to fail
parent 8c50c5f9
......@@ -915,10 +915,10 @@ ResultsStream * FlatpakBackend::search(const AbstractResourcesBackend::Filters &
if (!filter.resourceUrl.isEmpty() && r->appstreamId() !=
if (!filter.resourceUrl.isEmpty() &&>appstreamId(), Qt::CaseInsensitive) != 0)
if (r->state()<filter.state)
if (r->state() < filter.state)
if ( || r->name().contains(, Qt::CaseInsensitive) || r->comment().contains(, Qt::CaseInsensitive)) {
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