Nico Bosshard
ba1a10ee4c
Don’t focus the search field if the game is empty
2017-05-06 12:08:28 +02:00
Nico Bosshard
7ce591a8f1
Fixed some more typos
2017-05-03 00:23:20 +02:00
Nico Bosshard
dc13d6e1da
citra-qt: game list search function fixed minor mistakes
2017-05-02 23:55:27 +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
Yuri Kunde Schlesner
9a88ab50f7
Merge pull request #2587 from yuriks/status-bar
...
Replace built-in Profiler with indicators in status bar
2017-02-26 17:51:15 -08:00
Yuri Kunde Schlesner
249bd04274
Qt: Add (empty) status bar
2017-02-26 17:22:02 -08: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
Yuri Kunde Schlesner
622c405e71
Qt/GameList: Use suffix() to parse the file extension
...
completeSuffix returns everything after the first period, which means
that a file such as `foo.bar.3ds` would not get recognized.
2017-02-13 19:03:59 -08: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
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
Lioncash
da804ef0ff
game_list: Replace 0 literals with nullptr
2016-12-11 11:45:50 +00:00
Lioncash
f5636c45fb
game_list: Use QT5's new event connection syntax
...
Makes for more compact code in most places.
2016-12-11 11:45:50 +00:00
Lioncash
bd25e19ee8
game_list: Pass the parent constructor argument to the QWidget base class
...
If the control was ever passed an explicit parent, a potential memory leak
would happen, as the game list wouldn't be freed.
However, in our case, the game list was placed within a layout, which
automatically performs reparenting, avoiding this issue.
2016-12-11 11:45:50 +00:00
Yuri Kunde Schlesner
fa5d9d8266
Use negative priorities to avoid special-casing the self-include
2016-09-21 00:15:56 -07:00
Emmanuel Gil Peyrot
1138ec0d49
Remove empty newlines in #include blocks.
...
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
2016-09-21 11:15:47 +09:00
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
2016-09-18 09:38:01 +09:00
Yuri Kunde Schlesner
8e468474ab
Fix recursive scanning of directories
...
ForeachDirectoryEntry didn't actually do anything with the `recursive`
parameter, and the corresponding callback parameter was shadowing the
actual recursion counters in the user functions.
2016-06-19 00:12:15 -07:00
LFsWang
afcac8ad30
AddFstEntriesToGameList - prevent loading a directory
2016-06-01 14:04:58 +08:00
bunnei
f4edff9d5d
Merge pull request #1751 from linkmauve/no-recursive-readdir
...
Make recursive FileUtil functions take a maximum recursion
2016-05-30 20:59:10 -04:00
Emmanuel Gil Peyrot
e52461f648
CitraQt: Simplify the game list loader code
2016-05-21 17:09:59 +01:00
Emmanuel Gil Peyrot
97e8c6c845
Common: Make recursive FileUtil functions take a maximum recursion
...
Fixes #1115 .
Also improves the performances of DiskArchive’s directory
implementation a lot, simply by not going through the entire tree
instead of just listing the first level files.
Thanks to JayRoxFox for rebasing this on current master!
2016-05-21 16:41:02 +01:00
wwylele
fe31f05925
make the name column larger as default
2016-05-04 13:02:49 +03:00
wwylele
a23e3f1cd5
add icon & title to game list
2016-05-04 13:02:49 +03:00
bunnei
fda5058f1d
Merge pull request #1368 from LittleWhite-tb/configure-widget
...
Implementation for a configure widget
2016-04-10 20:21:34 -04:00
LFsWang
9ad1f457de
Fix encode problem On Windows
2016-03-31 18:58:37 +08:00
LittleWhite
611b686333
Compilation fix
2016-03-28 15:33:03 +02: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
LFsWang
b692dbafe3
Fix Qt chinese words encode problem on Windows
2016-03-17 17:18:45 +08:00
archshift
6e66a1244e
Refactor ScanDirectoryTreeAndCallback to separate errors and retvals
...
ScanDirectoryTreeAndCallback, before this change, coupled error/return
codes and actual return values (number of entries found). This caused
confusion and difficulty interpreting the precise way the function
worked.
Supersedes, and closes #1255 .
2015-11-27 13:33:38 -08:00
wwylele
91874459b3
change file path encoding to Local8bit()
...
to support non-latin characters
2015-10-20 20:58:23 +03: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