summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2017-05-02 23:42:55 +0200
committerspycrab <spycrab@users.noreply.github.com>2017-05-02 23:42:55 +0200
commitf18dd7550acff42692db8edb66db2c4d27fad552 (patch)
treede4654fc68fa85708d02262c2a98979a9c39177f /Source/Core
parent0031a490c14e9b4d95514c0a28ab725bfbf8a22e (diff)
Qt: Fix no games at all showing up all
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt2/GameList/GameTracker.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}