diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2017-09-27 08:53:05 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2017-12-28 19:07:56 +0100 |
| commit | 08716be43bbefe29ec6fe2a08a88439278746006 (patch) | |
| tree | 24931a1423d9ee0fd4cc95db60b4732939969828 /Source/Core/DolphinQt2/MainWindow.cpp | |
| parent | ec37ce093f5349a785d056958a187f5391322b4c (diff) | |
Qt/Debugger: Implement "Watch" window
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/MainWindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index 99278149ca..4d460f9735 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -47,7 +47,7 @@ #include "DolphinQt2/Config/Mapping/MappingWindow.h" #include "DolphinQt2/Config/SettingsWindow.h" #include "DolphinQt2/Debugger/RegisterWidget.h" -#include "DolphinQt2/FIFOPlayerWindow.h" +#include "DolphinQt2/Debugger/WatchWidget.h" #include "DolphinQt2/Host.h" #include "DolphinQt2/HotkeyScheduler.h" #include "DolphinQt2/MainWindow.h" @@ -170,6 +170,7 @@ void MainWindow::CreateComponents() connect(m_fifo_window, &FIFOPlayerWindow::LoadFIFORequested, this, [this](const QString& path) { StartGame(path); }); m_register_widget = new RegisterWidget(this); + m_watch_widget = new WatchWidget(this); #if defined(HAVE_XRANDR) && HAVE_XRANDR m_graphics_window = new GraphicsWindow( @@ -319,9 +320,11 @@ void MainWindow::ConnectStack() addDockWidget(Qt::RightDockWidgetArea, m_log_widget); addDockWidget(Qt::RightDockWidgetArea, m_log_config_widget); addDockWidget(Qt::RightDockWidgetArea, m_register_widget); + addDockWidget(Qt::RightDockWidgetArea, m_watch_widget); tabifyDockWidget(m_log_widget, m_log_config_widget); tabifyDockWidget(m_log_widget, m_register_widget); + tabifyDockWidget(m_log_widget, m_watch_widget); } void MainWindow::Open() |
