DolphinQt/PatchesWidget: Remove unused private member variable m_game

This resolves a -Wunused-private-field warning
This commit is contained in:
Lioncash 2018-07-06 19:58:01 -04:00
parent 935a273cf1
commit ef35f93cbd
No known key found for this signature in database
GPG Key ID: 4E3C3CC1031BA9C7
2 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,7 @@
#include "UICommon/GameFile.h"
PatchesWidget::PatchesWidget(const UICommon::GameFile& game)
: m_game(game), m_game_id(game.GetGameID()), m_game_revision(game.GetRevision())
: m_game_id(game.GetGameID()), m_game_revision(game.GetRevision())
{
IniFile game_ini_local;
game_ini_local.Load(File::GetUserPath(D_GAMESETTINGS_IDX) + m_game_id + ".ini");

View File

@ -48,7 +48,6 @@ private:
QPushButton* m_remove_button;
std::vector<PatchEngine::Patch> m_patches;
const UICommon::GameFile& m_game;
std::string m_game_id;
u16 m_game_revision;
};