Qt: Fix warning

pull/3544/head
Stenzek 2 months ago
parent e32e64420e
commit d69935eef0
No known key found for this signature in database

@ -462,7 +462,7 @@ QIcon GameListModel::getIconForGame(const QString& path)
const auto lock = GameList::GetLock();
const GameList::Entry* entry = GameList::GetEntryForPath(path.toStdString());
if (!entry || entry->serial.empty() || !entry->IsDisc() && !entry->IsDiscSet())
if (!entry || entry->serial.empty() || (!entry->IsDisc() && !entry->IsDiscSet()))
return ret;
// Only use the cache if we're not using larger icons. Otherwise they'll get double scaled.

Loading…
Cancel
Save