dolphin/Source/Core/DolphinQt2/GameList
Michael M 7d9ad88bc5 Add initial paths to GameTracker after construction
It's strange to see GameTracker add its own initial paths in
construction, because you might expect a race condition where the
GameLoaded signal is emitted before it gets connected to in
GameListModel.

In fact, this doesn't happen, but only because of how it abuses the Qt
signals mechanism to load files asynchronously: GameLoader emits a
GameLoaded signal which gets forwarded to the GameTracker::GameLoaded
signal _after_ control returns to the event loop, at which point
GameListModel has connected.

This commit moves the logic of adding initial paths out of GameTracker
to a point after the signals are connected, which is more obvious and
doesn't rely on how GameTracker implements concurrency.
2017-08-19 15:59:40 -07:00
..
GameFile.cpp Qt: Implement GetUniqueID() 2017-08-09 00:05:48 +02:00
GameFile.h Qt: Implement GetUniqueID() 2017-08-09 00:05:48 +02:00
GameList.cpp Qt: Fix old usage of GetSelectedGame 2017-08-16 13:21:14 +02:00
GameList.h GameList: make GetSelectedGame a pointer to GameFile 2017-08-10 13:22:35 -07:00
GameListModel.cpp Add initial paths to GameTracker after construction 2017-08-19 15:59:40 -07:00
GameListModel.h GameList: make GetSelectedGame a pointer to GameFile 2017-08-10 13:22:35 -07:00
GameTracker.cpp Add initial paths to GameTracker after construction 2017-08-19 15:59:40 -07:00
GameTracker.h Don't show "extra" files from DirectoryBlobs in game list 2017-08-01 11:36:40 +02:00
GridProxyModel.cpp DolphinQt2: Rename "Table"/"List" to "List View"/"Grid View" 2017-08-06 11:35:45 +02:00
GridProxyModel.h DolphinQt2: Rename "Table"/"List" to "List View"/"Grid View" 2017-08-06 11:35:45 +02:00
ListProxyModel.cpp DolphinQt2: Rename "Table"/"List" to "List View"/"Grid View" 2017-08-06 11:35:45 +02:00
ListProxyModel.h DolphinQt2: Rename "Table"/"List" to "List View"/"Grid View" 2017-08-06 11:35:45 +02:00