From d69935eef08a0d10593a0998e2c5af4f7064f9d0 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 31 Aug 2025 20:36:36 +1000 Subject: [PATCH] Qt: Fix warning --- src/duckstation-qt/gamelistwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/duckstation-qt/gamelistwidget.cpp b/src/duckstation-qt/gamelistwidget.cpp index 6e17c4b67..de24212af 100644 --- a/src/duckstation-qt/gamelistwidget.cpp +++ b/src/duckstation-qt/gamelistwidget.cpp @@ -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.