diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/game_list_p.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/yuzu/game_list_p.h b/src/yuzu/game_list_p.h index 114a0fc7f..4f7e1ab37 100644 --- a/src/yuzu/game_list_p.h +++ b/src/yuzu/game_list_p.h | |||
| @@ -39,7 +39,6 @@ public: | |||
| 39 | * If this class receives valid SMDH data, it will also display game icons and titles. | 39 | * If this class receives valid SMDH data, it will also display game icons and titles. |
| 40 | */ | 40 | */ |
| 41 | class GameListItemPath : public GameListItem { | 41 | class GameListItemPath : public GameListItem { |
| 42 | |||
| 43 | public: | 42 | public: |
| 44 | static const int FullPathRole = Qt::UserRole + 1; | 43 | static const int FullPathRole = Qt::UserRole + 1; |
| 45 | static const int TitleRole = Qt::UserRole + 2; | 44 | static const int TitleRole = Qt::UserRole + 2; |
| @@ -48,8 +47,7 @@ public: | |||
| 48 | 47 | ||
| 49 | GameListItemPath() = default; | 48 | GameListItemPath() = default; |
| 50 | GameListItemPath(const QString& game_path, const std::vector<u8>& picture_data, | 49 | GameListItemPath(const QString& game_path, const std::vector<u8>& picture_data, |
| 51 | const QString& game_name, const QString& game_type, u64 program_id) | 50 | const QString& game_name, const QString& game_type, u64 program_id) { |
| 52 | : GameListItem() { | ||
| 53 | setData(game_path, FullPathRole); | 51 | setData(game_path, FullPathRole); |
| 54 | setData(game_name, TitleRole); | 52 | setData(game_name, TitleRole); |
| 55 | setData(qulonglong(program_id), ProgramIdRole); | 53 | setData(qulonglong(program_id), ProgramIdRole); |