Qt: Fix possible cover loss during load

This commit is contained in:
Stenzek
2025-09-03 21:54:15 +10:00
parent e573f18b01
commit 3d73c5cacc

View File

@@ -347,7 +347,7 @@ void GameListModel::loadOrGenerateCover(QImage& image, const QImage& placeholder
void GameListModel::coverLoaded(const std::string& path, const QImage& image, float scale)
{
// old request before cover scale change?
if (m_cover_scale != scale)
if (m_cover_scale != scale || !m_cover_pixmap_cache.Lookup(path))
return;
if (!image.isNull())