Permalink
Browse files

DolphinQt/PatchesWidget: Remove unused private member variable m_game

This resolves a -Wunused-private-field warning
  • Loading branch information...
lioncash committed Jul 6, 2018
1 parent 935a273 commit ef35f93cbdbf0876dac9257bd9b74d64219615db
Showing with 1 addition and 2 deletions.
  1. +1 −1 Source/Core/DolphinQt/Config/PatchesWidget.cpp
  2. +0 −1 Source/Core/DolphinQt/Config/PatchesWidget.h
@@ -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");
@@ -48,7 +48,6 @@ class PatchesWidget : public QWidget
QPushButton* m_remove_button;
std::vector<PatchEngine::Patch> m_patches;
const UICommon::GameFile& m_game;
std::string m_game_id;
u16 m_game_revision;
};

0 comments on commit ef35f93

Please sign in to comment.