diff --git a/Source/Core/DolphinQt/Config/PatchesWidget.cpp b/Source/Core/DolphinQt/Config/PatchesWidget.cpp index 2f5f85c686..5e5d27952f 100644 --- a/Source/Core/DolphinQt/Config/PatchesWidget.cpp +++ b/Source/Core/DolphinQt/Config/PatchesWidget.cpp @@ -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"); diff --git a/Source/Core/DolphinQt/Config/PatchesWidget.h b/Source/Core/DolphinQt/Config/PatchesWidget.h index fd68171203..ab1bc324d0 100644 --- a/Source/Core/DolphinQt/Config/PatchesWidget.h +++ b/Source/Core/DolphinQt/Config/PatchesWidget.h @@ -48,7 +48,6 @@ private: QPushButton* m_remove_button; std::vector m_patches; - const UICommon::GameFile& m_game; std::string m_game_id; u16 m_game_revision; };