diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-06-19 09:09:16 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-06-19 09:12:15 +0200 |
commit | d6792632f0a426247167fc91c12c1f640748464f (patch) | |
tree | acf52c2afb186071142991e852c9bda645f56c41 /src/citra_qt | |
parent | Merge pull request #1877 from wwylele/wait-fix-timeout (diff) | |
download | yuzu-d6792632f0a426247167fc91c12c1f640748464f.tar yuzu-d6792632f0a426247167fc91c12c1f640748464f.tar.gz yuzu-d6792632f0a426247167fc91c12c1f640748464f.tar.bz2 yuzu-d6792632f0a426247167fc91c12c1f640748464f.tar.lz yuzu-d6792632f0a426247167fc91c12c1f640748464f.tar.xz yuzu-d6792632f0a426247167fc91c12c1f640748464f.tar.zst yuzu-d6792632f0a426247167fc91c12c1f640748464f.zip |
Diffstat (limited to 'src/citra_qt')
-rw-r--r-- | src/citra_qt/game_list.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/citra_qt/game_list.cpp b/src/citra_qt/game_list.cpp index 15484fae3..1910da3ac 100644 --- a/src/citra_qt/game_list.cpp +++ b/src/citra_qt/game_list.cpp @@ -120,11 +120,9 @@ void GameList::LoadInterfaceLayout() void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, unsigned int recursion) { - const auto callback = [&](unsigned* num_entries_out, - const std::string& directory, - const std::string& virtual_name, - unsigned int recursion) -> bool { - + const auto callback = [this, recursion](unsigned* num_entries_out, + const std::string& directory, + const std::string& virtual_name) -> bool { std::string physical_name = directory + DIR_SEP + virtual_name; if (stop_processing) |