diff options
| author | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-03-16 23:05:56 -0700 |
|---|---|---|
| committer | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-03-28 09:57:22 -0700 |
| commit | b52a08d5332949c3b22f8434155cc8095d94df3a (patch) | |
| tree | 7c62fcc63540d0c1bce670b43f96ffe10ef6ca5f /Source/Core/DolphinQt/MainWindow.cpp | |
| parent | 1efda863e47b690f460f069502a4391b3c7d87c4 (diff) | |
DolphinQt: A Ubiquitous Signal For When Symbols Change
There were three distinct mechanisms for signaling symbol changes in DolphinQt: `Host::NotifyMapLoaded`, `MenuBar::NotifySymbolsUpdated`, and `CodeViewWidget::SymbolsChanged`. The behavior of these signals has been consolidated into the new `Host::PPCSymbolsUpdated` signal, which can be emitted from anywhere in DolphinQt to properly update symbols everywhere in DolphinQt.
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/MainWindow.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index 576759bd52..d5260c47f3 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -591,12 +591,6 @@ void MainWindow::ConnectMenuBar() connect(m_game_list, &GameList::SelectionChanged, m_menu_bar, &MenuBar::SelectionChanged); connect(this, &MainWindow::ReadOnlyModeChanged, m_menu_bar, &MenuBar::ReadOnlyModeChanged); connect(this, &MainWindow::RecordingStatusChanged, m_menu_bar, &MenuBar::RecordingStatusChanged); - - // Symbols - connect(m_menu_bar, &MenuBar::NotifySymbolsUpdated, [this] { - m_code_widget->UpdateSymbols(); - m_code_widget->Update(); - }); } void MainWindow::ConnectHotkeys() |
