Qt/GameList: Add method to get unique ID for item
This commit is contained in:
parent
e9138f7512
commit
962af060a0
|
@ -27,6 +27,8 @@ public:
|
||||||
|
|
||||||
// Path of the Game at the specified index.
|
// Path of the Game at the specified index.
|
||||||
QString GetPath(int index) const { return m_games[index]->GetFilePath(); }
|
QString GetPath(int index) const { return m_games[index]->GetFilePath(); }
|
||||||
|
// Unique ID of the Game at the specified index
|
||||||
|
QString GetUniqueID(int index) const { return m_games[index]->GetUniqueID(); }
|
||||||
bool ShouldDisplayGameListItem(int index) const;
|
bool ShouldDisplayGameListItem(int index) const;
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue