Commit 01d3b7e2 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Snap: Prefer deprecated but backwards-compatible version

parent f6226561
......@@ -71,7 +71,7 @@ ResultsStream * SnapBackend::search(const AbstractResourcesBackend::Filters& fil
} else if (filters.category && filters.category->isAddons()) {
return voidStream();
} else if (filters.state >= AbstractResource::Installed) {
return populate(m_client.getSnaps());
return populate(m_client.list());
} else if (!filters.search.isEmpty()) {
return populate(m_client.find(QSnapdClient::FindFlag::None, filters.search));
}
......
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