mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-04 20:06:41 +01:00
DolphinQt/PatchesWidget: Remove unused private member variable m_game
This resolves a -Wunused-private-field warning
This commit is contained in:
parent
935a273cf1
commit
ef35f93cbd
@ -20,7 +20,7 @@
|
|||||||
#include "UICommon/GameFile.h"
|
#include "UICommon/GameFile.h"
|
||||||
|
|
||||||
PatchesWidget::PatchesWidget(const UICommon::GameFile& game)
|
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;
|
IniFile game_ini_local;
|
||||||
game_ini_local.Load(File::GetUserPath(D_GAMESETTINGS_IDX) + m_game_id + ".ini");
|
game_ini_local.Load(File::GetUserPath(D_GAMESETTINGS_IDX) + m_game_id + ".ini");
|
||||||
|
@ -48,7 +48,6 @@ private:
|
|||||||
QPushButton* m_remove_button;
|
QPushButton* m_remove_button;
|
||||||
|
|
||||||
std::vector<PatchEngine::Patch> m_patches;
|
std::vector<PatchEngine::Patch> m_patches;
|
||||||
const UICommon::GameFile& m_game;
|
|
||||||
std::string m_game_id;
|
std::string m_game_id;
|
||||||
u16 m_game_revision;
|
u16 m_game_revision;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user