summaryrefslogtreecommitdiffstats
path: root/src/yuzu/game_list_p.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-11 00:07:43 +0200
committerLioncash <mathew1800@gmail.com>2018-08-11 00:17:39 +0200
commitbe53097577708ad51509877b8ce8a63fa942645f (patch)
tree777d2371be605b1bc42d40443fe4e4b2d024f1de /src/yuzu/game_list_p.h
parentMerge pull request #1007 from MerryMage/dynarmic (diff)
downloadyuzu-be53097577708ad51509877b8ce8a63fa942645f.tar
yuzu-be53097577708ad51509877b8ce8a63fa942645f.tar.gz
yuzu-be53097577708ad51509877b8ce8a63fa942645f.tar.bz2
yuzu-be53097577708ad51509877b8ce8a63fa942645f.tar.lz
yuzu-be53097577708ad51509877b8ce8a63fa942645f.tar.xz
yuzu-be53097577708ad51509877b8ce8a63fa942645f.tar.zst
yuzu-be53097577708ad51509877b8ce8a63fa942645f.zip
Diffstat (limited to '')
-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:
* If this class receives valid SMDH data, it will also display game icons and titles.
*/
class GameListItemPath : public GameListItem {
-
public:
static const int FullPathRole = Qt::UserRole + 1;
static const int TitleRole = Qt::UserRole + 2;
@@ -48,8 +47,7 @@ public:
GameListItemPath() = default;
GameListItemPath(const QString& game_path, const std::vector<u8>& picture_data,
- const QString& game_name, const QString& game_type, u64 program_id)
- : GameListItem() {
+ const QString& game_name, const QString& game_type, u64 program_id) {
setData(game_path, FullPathRole);
setData(game_name, TitleRole);
setData(qulonglong(program_id), ProgramIdRole);