summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/MainWindow.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2017-06-21 10:27:21 +0200
committerspycrab <spycrab@users.noreply.github.com>2017-06-27 20:25:38 +0200
commitba3df3db056b44588b425db272f9c61f0c4efa07 (patch)
tree2d6a469d357cbefb355ced913664ccf49b6cbd08 /Source/Core/DolphinQt2/MainWindow.cpp
parent15243093c40815d0e610bab02349a8bb40d7b227 (diff)
Qt/Settings: Implement audio pane
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt2/MainWindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp
index 92a7ec0020..b80a93ee65 100644
--- a/Source/Core/DolphinQt2/MainWindow.cpp
+++ b/Source/Core/DolphinQt2/MainWindow.cpp
@@ -121,6 +121,11 @@ void MainWindow::CreateComponents()
m_settings_window = new SettingsWindow(this);
m_hotkey_window = new MappingWindow(this, 0);
+ connect(this, &MainWindow::EmulationStarted, m_settings_window,
+ &SettingsWindow::EmulationStarted);
+ connect(this, &MainWindow::EmulationStopped, m_settings_window,
+ &SettingsWindow::EmulationStopped);
+
InstallHotkeyFilter(m_hotkey_window);
InstallHotkeyFilter(m_controllers_window);
InstallHotkeyFilter(m_settings_window);