From 962af060a0eb1fa2a9054a173826d9c74cd5a425 Mon Sep 17 00:00:00 2001 From: spycrab Date: Thu, 20 Jul 2017 21:07:50 +0200 Subject: [PATCH] Qt/GameList: Add method to get unique ID for item --- Source/Core/DolphinQt2/GameList/GameListModel.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinQt2/GameList/GameListModel.h b/Source/Core/DolphinQt2/GameList/GameListModel.h index da807cc83c..63a2d83919 100644 --- a/Source/Core/DolphinQt2/GameList/GameListModel.h +++ b/Source/Core/DolphinQt2/GameList/GameListModel.h @@ -27,6 +27,8 @@ public: // Path of the Game at the specified index. 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; enum {