diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-06-13 16:52:19 -0400 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-06-14 08:30:07 -0400 |
commit | e29e8eec2febc58e36add101d63e197f3ddea0bc (patch) | |
tree | e19f633af8cb29f23eae464d74f6118f970ef0b3 /src/yuzu/game_list_p.h | |
parent | 8b55f2c615f72d74cc1754941ffba5d526dd8d1d (diff) |
game_list: Eliminate variable shadowing
Diffstat (limited to 'src/yuzu/game_list_p.h')
-rw-r--r-- | src/yuzu/game_list_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu/game_list_p.h b/src/yuzu/game_list_p.h index 582f6db5e..cd7d63536 100644 --- a/src/yuzu/game_list_p.h +++ b/src/yuzu/game_list_p.h @@ -225,8 +225,8 @@ public: static constexpr int GameDirRole = Qt::UserRole + 2; explicit GameListDir(UISettings::GameDir& directory, - GameListItemType dir_type = GameListItemType::CustomDir) - : dir_type{dir_type} { + GameListItemType dir_type_ = GameListItemType::CustomDir) + : dir_type{dir_type_} { setData(type(), TypeRole); UISettings::GameDir* game_dir = &directory; @@ -356,7 +356,7 @@ public: private: class KeyReleaseEater : public QObject { public: - explicit KeyReleaseEater(GameList* gamelist, QObject* parent = nullptr); + explicit KeyReleaseEater(GameList* gamelist_, QObject* parent = nullptr); private: GameList* gamelist = nullptr; |