mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-13 18:04:32 +00:00
Qt: Fix possible cover loss during load
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user