From f18dd7550acff42692db8edb66db2c4d27fad552 Mon Sep 17 00:00:00 2001 From: spycrab Date: Tue, 2 May 2017 23:42:55 +0200 Subject: [PATCH] Qt: Fix no games at all showing up all --- Source/Core/DolphinQt2/GameList/GameTracker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt2/GameList/GameTracker.cpp b/Source/Core/DolphinQt2/GameList/GameTracker.cpp index c4d133f916..1097504ff8 100644 --- a/Source/Core/DolphinQt2/GameList/GameTracker.cpp +++ b/Source/Core/DolphinQt2/GameList/GameTracker.cpp @@ -72,10 +72,10 @@ void GameTracker::UpdateDirectory(const QString& dir) while (it.hasNext()) { QString path = QFileInfo(it.next()).canonicalFilePath(); - auto& tracked_file = m_tracked_files[path]; if (m_tracked_files.contains(path)) { + auto& tracked_file = m_tracked_files[path]; if (!tracked_file.contains(dir)) tracked_file.insert(dir); }