qt/game_list: Remove redundant base class constructor from initializer list
This is called automatically anyways.
This commit is contained in:
parent
0a003efde4
commit
be53097577
|
@ -39,7 +39,6 @@ public:
|
||||||
* If this class receives valid SMDH data, it will also display game icons and titles.
|
* If this class receives valid SMDH data, it will also display game icons and titles.
|
||||||
*/
|
*/
|
||||||
class GameListItemPath : public GameListItem {
|
class GameListItemPath : public GameListItem {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static const int FullPathRole = Qt::UserRole + 1;
|
static const int FullPathRole = Qt::UserRole + 1;
|
||||||
static const int TitleRole = Qt::UserRole + 2;
|
static const int TitleRole = Qt::UserRole + 2;
|
||||||
|
@ -48,8 +47,7 @@ public:
|
||||||
|
|
||||||
GameListItemPath() = default;
|
GameListItemPath() = default;
|
||||||
GameListItemPath(const QString& game_path, const std::vector<u8>& picture_data,
|
GameListItemPath(const QString& game_path, const std::vector<u8>& picture_data,
|
||||||
const QString& game_name, const QString& game_type, u64 program_id)
|
const QString& game_name, const QString& game_type, u64 program_id) {
|
||||||
: GameListItem() {
|
|
||||||
setData(game_path, FullPathRole);
|
setData(game_path, FullPathRole);
|
||||||
setData(game_name, TitleRole);
|
setData(game_name, TitleRole);
|
||||||
setData(qulonglong(program_id), ProgramIdRole);
|
setData(qulonglong(program_id), ProgramIdRole);
|
||||||
|
|
Loading…
Reference in a new issue