Qt: Fix duplicate log window when theme switching

This commit is contained in:
Stenzek 2024-06-24 10:27:22 +10:00 committed by Connor McLaughlin
parent 02ef8098c9
commit 3040474f99
1 changed files with 1 additions and 4 deletions

View File

@ -37,10 +37,7 @@ LogWindow::LogWindow(bool attach_to_main)
Log::SetHostOutputLevel(GetWindowLogLevel(), &LogWindow::logCallback);
}
LogWindow::~LogWindow()
{
Log::SetHostOutputLevel(LOGLEVEL_NONE, nullptr);
}
LogWindow::~LogWindow() = default;
void LogWindow::updateSettings()
{