Commit graph

14 commits

Author SHA1 Message Date
James Rowe
d2b1114c2c Frontend: Prevent FileSystemWatcher from blocking UI thread
Instead of tying the QFileSystemWatcher to the GameList and updating in
the UI thread, this change moves it to the worker thread. Since it gets
deleted and recreated as part of the worker thread, this prevents it from
ever getting used from multiple threads (which is why it was originally
done on the UI thread)
2017-05-10 09:37:44 -06:00
Nico Bosshard
7ce591a8f1 Fixed some more typos 2017-05-03 00:23:20 +02:00
Nico Bosshard
52d2e4a5f3 citra-qt: game list search function (#2673)
* citra-qt: game list search function

* Empty search field during game list refresh

* Code improvements

* Code formatting

* Autofocus search field

* JayFoxRox's recommendations

* lioncash's review
2017-04-29 22:04:39 -04:00
James Rowe
160ba0e9f8 Use QFileSystemWatcher to reload the game list when a change is detected. (#2555)
* Added a refresh game directory option to the file menu

* Make the game list watcher recursive and have it start watching from the initial load

* Rework game list watcher to be thread safe

* Fix code style issues
2017-02-23 16:29:00 -05:00
Kloen Lansfiel
21a48770b8 citra-qt: Don't attempt to scan files with unsupported extensions (#2402) 2017-02-12 12:28:56 -08:00
MerryMage
33831718fa game_list: Implement context menu for items in list
* Add a context menu with a "Open Save Data Location" action
2016-12-15 18:43:10 +00:00
Lioncash
2a1cf1e2ce game_list: Make slots private functions
The new Qt event syntax allows for regular member functions to be used in
connect(), so explicitly indicating slots isn't necessary.
2016-12-11 11:45:50 +00:00
Lioncash
c22f539978 game_list: Make the constructor explicit 2016-12-11 11:45:50 +00:00
Lioncash
ada0edd082 game_list: Make the AddEntry argument a const reference
appendRow takes a QList by const reference, so it doesn't need to be
modifiable.
2016-12-11 11:45:50 +00:00
Emmanuel Gil Peyrot
628ed4376a Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
wwylele
a23e3f1cd5 add icon & title to game list 2016-05-04 13:02:49 +03:00
LittleWhite
9ddc04971b Whole config is handled by Config class.
This also means : we have only one config file, now
2016-03-21 20:03:18 +01:00
archshift
dfaed461ff Game list: save and load column sizes, sort order, to QSettings 2015-10-01 19:39:15 -07:00
archshift
6da3f4480e Initial implementation of a game list 2015-10-01 19:39:14 -07:00