Commit 6279f62d authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Give some url to snaps until they have an appsteam id

parent 61f520f9
......@@ -157,3 +157,9 @@ bool SnapResource::isTechnical() const
{
return m_snap->snapType() != QLatin1String("app");
}
QUrl SnapResource::url() const
{
//FIXME interim, until it has an appstreamId
return QUrl(QStringLiteral("snap://") + packageName());
}
......@@ -55,6 +55,7 @@ public:
void fetchChangelog() override;
void fetchScreenshots() override;
QList<PackageState> addonsInformation() override { return {}; }
QUrl url() const override;
void setState(AbstractResource::State state);
......
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