Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 0c91e20d authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Implement screenshots for snap

parent dc74ef75
......@@ -140,7 +140,12 @@ void SnapResource::fetchChangelog()
void SnapResource::fetchScreenshots()
Q_EMIT screenshotsFetched({}, {});
QList<QUrl> screenshots;
for(int i = 0, c = m_snap->screenshotCount(); i<c; ++i) {
QScopedPointer<QSnapdScreenshot> screenshot(m_snap->screenshot(i));
screenshots << QUrl(screenshot->url());
Q_EMIT screenshotsFetched(screenshots, screenshots);
void SnapResource::invokeApplication() const
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