Yuri Kunde Schlesner
3b7b43dc98
Qt: Add (empty) status bar
2017-02-26 17:22:02 -08:00
Yuri Kunde Schlesner
9216db6a5d
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
d8a8966969
citra-qt: Don't attempt to scan files with unsupported extensions ( #2402 )
2017-02-12 12:28:56 -08:00
MerryMage
0f49c7242f
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
41d3b0b9f7
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
20c73f004a
game_list: Replace 0 literals with nullptr
2016-12-11 11:45:50 +00:00
Lioncash
14d272ac26
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
093b533825
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
45751915a0
Use negative priorities to avoid special-casing the self-include
2016-09-21 00:15:56 -07:00
Emmanuel Gil Peyrot
e4393f7ff2
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
7e8d205414
Sources: Run clang-format on everything.
2016-09-18 09:38:01 +09:00
Yuri Kunde Schlesner
3c56749bf9
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
3fd714b699
AddFstEntriesToGameList - prevent loading a directory
2016-06-01 14:04:58 +08:00
bunnei
d76bb1a2a5
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
f2ce000e80
CitraQt: Simplify the game list loader code
2016-05-21 17:09:59 +01:00
Emmanuel Gil Peyrot
13ee41dcff
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
92ae1df089
make the name column larger as default
2016-05-04 13:02:49 +03:00
wwylele
7e4c90af39
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