diff options
| author | bunnei <bunneidev@gmail.com> | 2021-01-19 10:53:18 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-19 10:53:18 -0800 |
| commit | 4cd8b2f1f7837ad3f138148474846b5bdd8c824e (patch) | |
| tree | b1c2c70a1f75924bfff666ef670d4b12f3ddb548 /src/yuzu/game_list_p.h | |
| parent | 2ef4591e5849b5a1a4d6c65ed2d6ee19b4aec665 (diff) | |
| parent | bf9f737c609a2831ad52aab68030fb888c64bd01 (diff) | |
Merge pull request #5755 from FearlessTobi/port-5344
Port citra-emu/citra#5344: "game_list: Fix folder reordering"
Diffstat (limited to 'src/yuzu/game_list_p.h')
| -rw-r--r-- | src/yuzu/game_list_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/game_list_p.h b/src/yuzu/game_list_p.h index df935022d..f25445f18 100644 --- a/src/yuzu/game_list_p.h +++ b/src/yuzu/game_list_p.h @@ -230,7 +230,7 @@ public: setData(type(), TypeRole); UISettings::GameDir* game_dir = &directory; - setData(QVariant::fromValue(game_dir), GameDirRole); + setData(QVariant(UISettings::values.game_dirs.indexOf(directory)), GameDirRole); const int icon_size = std::min(static_cast<int>(UISettings::values.icon_size), 64); switch (dir_type) { |
