Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit fda5b6f2 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Prefer deprecated but available API

The version that many distros have still doesn't have getSnap.
parent 67293df0
......@@ -340,7 +340,7 @@ QString SnapResource::appstreamId() const
QString SnapResource::channel() const
{
auto req = client()->getSnap(packageName());
auto req = client()->listOne(packageName());
req->runSync();
return req->error() ? QString() : req->snap()->trackingChannel();
}
......
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