diff --git a/Source/Core/DolphinWX/NetPlay/MD5Dialog.cpp b/Source/Core/DolphinWX/NetPlay/MD5Dialog.cpp index 1d0f7a0817..2eb8547693 100644 --- a/Source/Core/DolphinWX/NetPlay/MD5Dialog.cpp +++ b/Source/Core/DolphinWX/NetPlay/MD5Dialog.cpp @@ -15,7 +15,7 @@ MD5Dialog::MD5Dialog(wxWindow* parent, NetPlayServer* server, std::vector players, const std::string& game) - : wxDialog(parent, wxID_ANY, _("MD5 Checksum")), m_parent(parent), m_netplay_server(server) + : wxDialog(parent, wxID_ANY, _("MD5 Checksum")), m_netplay_server(server) { Bind(wxEVT_CLOSE_WINDOW, &MD5Dialog::OnClose, this); wxBoxSizer* const main_sizer = new wxBoxSizer(wxVERTICAL); diff --git a/Source/Core/DolphinWX/NetPlay/MD5Dialog.h b/Source/Core/DolphinWX/NetPlay/MD5Dialog.h index 82b88714e9..f97bd62c95 100644 --- a/Source/Core/DolphinWX/NetPlay/MD5Dialog.h +++ b/Source/Core/DolphinWX/NetPlay/MD5Dialog.h @@ -31,7 +31,6 @@ private: void OnClose(wxCloseEvent& event); void OnCloseBtnPressed(wxCommandEvent& event); - wxWindow* m_parent; wxStaticText* m_final_result_label; NetPlayServer* m_netplay_server; std::map m_progress_bars; diff --git a/Source/Core/DolphinWX/NetPlay/NetWindow.h b/Source/Core/DolphinWX/NetPlay/NetWindow.h index 6894f69442..b7fb088b99 100644 --- a/Source/Core/DolphinWX/NetPlay/NetWindow.h +++ b/Source/Core/DolphinWX/NetPlay/NetWindow.h @@ -92,7 +92,7 @@ private: void OnPlayerSelect(wxCommandEvent& event); void GetNetSettings(NetSettings& settings); std::string FindCurrentGame(); - std::string FindGame(const std::string& game); + std::string FindGame(const std::string& game) override; void OnCopyIP(wxCommandEvent&); void OnChoice(wxCommandEvent& event);