summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2018-08-10 18:07:43 -0400
committerGravatar Lioncash2018-08-10 18:17:39 -0400
commitbe53097577708ad51509877b8ce8a63fa942645f (patch)
tree777d2371be605b1bc42d40443fe4e4b2d024f1de
parentMerge pull request #1007 from MerryMage/dynarmic (diff)
downloadyuzu-be53097577708ad51509877b8ce8a63fa942645f.tar.gz
yuzu-be53097577708ad51509877b8ce8a63fa942645f.tar.xz
yuzu-be53097577708ad51509877b8ce8a63fa942645f.zip
qt/game_list: Remove redundant base class constructor from initializer list
This is called automatically anyways.
-rw-r--r--src/yuzu/game_list_p.h4
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 */
41class GameListItemPath : public GameListItem { 41class GameListItemPath : public GameListItem {
42
43public: 42public:
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);