Qt: Work around theme swap bug with Classic Windows

This commit is contained in:
Stenzek
2024-06-23 13:34:39 +10:00
parent e8541648ce
commit 6892c3d095
2 changed files with 18 additions and 2 deletions

View File

@ -411,9 +411,7 @@ void DebuggerWindow::onMemorySearchStringChanged(const QString&)
void DebuggerWindow::closeEvent(QCloseEvent* event)
{
g_emu_thread->disconnect(this);
g_emu_thread->setSystemPaused(true, true);
Host::RunOnCPUThread(&CPU::ClearBreakpoints);
g_emu_thread->setSystemPaused(false);
QMainWindow::closeEvent(event);
emit closed();
}