Merge pull request #5415 from MerryMage/frame-toggle-dual-core

Frame: Remove unused member function OnToggleDualCore
This commit is contained in:
Tilka 2017-05-13 20:15:42 +01:00 committed by GitHub
commit 327180daa7
2 changed files with 0 additions and 7 deletions

View File

@ -308,7 +308,6 @@ private:
void OnConfigHotkey(wxCommandEvent& event);
void OnToggleFullscreen(wxCommandEvent& event);
void OnToggleDualCore(wxCommandEvent& event);
void OnManagerResize(wxAuiManagerEvent& event);
void OnMove(wxMoveEvent& event);
void OnResize(wxSizeEvent& event);

View File

@ -1331,12 +1331,6 @@ void CFrame::OnToggleFullscreen(wxCommandEvent& WXUNUSED(event))
DoFullscreen(!RendererIsFullscreen());
}
void CFrame::OnToggleDualCore(wxCommandEvent& WXUNUSED(event))
{
SConfig::GetInstance().bCPUThread = !SConfig::GetInstance().bCPUThread;
SConfig::GetInstance().SaveSettings();
}
void CFrame::OnLoadStateFromFile(wxCommandEvent& WXUNUSED(event))
{
wxString path =