mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 01:28:57 +00:00
Qt: Fix log / log config window not being marked as hidden when closing
This commit is contained in:
parent
d1abd71ccb
commit
0b43e1bcf4
4 changed files with 18 additions and 0 deletions
|
@ -207,3 +207,8 @@ void LogWidget::Log(LogTypes::LOG_LEVELS level, const char* text)
|
|||
QString::fromStdString(color),
|
||||
QString::fromStdString(std::string(text).substr(TIMESTAMP_LENGTH))));
|
||||
}
|
||||
|
||||
void LogWidget::closeEvent(QCloseEvent*)
|
||||
{
|
||||
Settings::Instance().SetLogVisible(false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue