mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 09:39:13 +00:00
LogManager: remove per-container listeners
This commit is contained in:
parent
546fa628fb
commit
18da6dee8e
4 changed files with 21 additions and 78 deletions
|
@ -133,11 +133,7 @@ void CLogWindow::RemoveAllListeners()
|
|||
return;
|
||||
m_has_listeners = false;
|
||||
|
||||
for (int i = 0; i < LogTypes::NUMBER_OF_LOGS; ++i)
|
||||
{
|
||||
m_LogManager->RemoveListener(static_cast<LogTypes::LOG_TYPE>(i),
|
||||
LogListener::LOG_WINDOW_LISTENER);
|
||||
}
|
||||
m_LogManager->EnableListener(LogListener::LOG_WINDOW_LISTENER, false);
|
||||
}
|
||||
|
||||
void CLogWindow::SaveSettings()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue