Commit 83d6068b authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Fix build

CCMAIL: montel@kde.org
parent a15bab36
......@@ -64,8 +64,8 @@ static QPair<QList<QUrl>, QList<QUrl>> fetchScreenshots(const AppStream::Compone
const auto images = s.images();
const QUrl thumbnail = AppStreamUtils::imageOfKind(images, AppStream::Image::KindThumbnail);
const QUrl plain = AppStreamUtils::imageOfKind(images, AppStream::Image::KindSource);
if (plain.isEmpty())
qCWarning(LIBDISCOVER_LOG) << "invalid screenshot for" << appdata.name();
// if (plain.isEmpty())
// qCWarning(LIBDISCOVER_LOG) << "invalid screenshot for" << appdata.name();
screenshots << plain;
thumbnails << (thumbnail.isEmpty() ? plain : thumbnail);
......
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