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

Properly fetch icons

parent 8474f4cd
......@@ -67,7 +67,7 @@ QVariant SnapResource::icon() const
return QUrl(iconPath);
auto backend = qobject_cast<SnapBackend*>(parent());
auto req = backend->client()->getIcon(iconPath);
auto req = backend->client()->getIcon(packageName());
if (req->error()) {
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