diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-02-16 00:52:20 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-02-16 20:40:33 -0500 |
| commit | ca7bdf1d5d2534805738dd9a7e86cba732e981bc (patch) | |
| tree | 81f516b7af343d2111ad08de2e93a42e0229a143 /Source/Core/DolphinWX/Frame.cpp | |
| parent | b18a33377d7229a66226a524186d24c57f1d56aa (diff) | |
Remove the embedded Console from the possible logging options.
Note I do not mean the Logging window, but the console window.
It's literally rarely, if at all used, and offers less advantages over the built-in logging window (ie. it breaks on different locales: http://i.imgur.com/Cs92tQE.png)
This commit should remove all of the console logging.
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Frame.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index 2bb4afd24b..98e4580ef9 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -20,7 +20,6 @@ #include "CheatsWindow.h" #include "GameListCtrl.h" #include "BootManager.h" -#include "ConsoleListener.h" #include "ConfigManager.h" // Core #include "Core.h" @@ -281,11 +280,8 @@ CFrame::CFrame(wxFrame* parent, for (int i = 0; i <= IDM_CODEWINDOW - IDM_LOGWINDOW; i++) bFloatWindow[i] = false; - if (ShowLogWindow) SConfig::GetInstance().m_InterfaceLogWindow = true; - - // Give it a console early to show potential messages from this onward - ConsoleListener *Console = LogManager::GetInstance()->GetConsoleListener(); - if (SConfig::GetInstance().m_InterfaceConsole) Console->Open(); + if (ShowLogWindow) + SConfig::GetInstance().m_InterfaceLogWindow = true; // Start debugging maximized if (UseDebugger) this->Maximize(true); @@ -363,8 +359,6 @@ CFrame::CFrame(wxFrame* parent, ToggleLogWindow(true); if (SConfig::GetInstance().m_InterfaceLogConfigWindow) ToggleLogConfigWindow(true); - if (SConfig::GetInstance().m_InterfaceConsole) - ToggleConsole(true); } // Show window @@ -652,7 +646,6 @@ void CFrame::OnRenderWindowSizeRequest(int width, int height) // Add space for the log/console/debugger window if (SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain && (SConfig::GetInstance().m_InterfaceLogWindow || - SConfig::GetInstance().m_InterfaceConsole || SConfig::GetInstance().m_InterfaceLogConfigWindow) && !m_Mgr->GetPane(wxT("Pane 1")).IsFloating()) { |
