mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #5358 from spycrab/qt_list_fix
Qt: Fix no games at all showing up all
This commit is contained in:
commit
b21174c326
@ -72,10 +72,10 @@ void GameTracker::UpdateDirectory(const QString& dir)
|
|||||||
while (it.hasNext())
|
while (it.hasNext())
|
||||||
{
|
{
|
||||||
QString path = QFileInfo(it.next()).canonicalFilePath();
|
QString path = QFileInfo(it.next()).canonicalFilePath();
|
||||||
auto& tracked_file = m_tracked_files[path];
|
|
||||||
|
|
||||||
if (m_tracked_files.contains(path))
|
if (m_tracked_files.contains(path))
|
||||||
{
|
{
|
||||||
|
auto& tracked_file = m_tracked_files[path];
|
||||||
if (!tracked_file.contains(dir))
|
if (!tracked_file.contains(dir))
|
||||||
tracked_file.insert(dir);
|
tracked_file.insert(dir);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user