summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/MainWindow.cpp
diff options
context:
space:
mode:
authorshuffle2 <godisgovernment@gmail.com>2017-06-27 11:46:14 -0700
committerGitHub <noreply@github.com>2017-06-27 11:46:14 -0700
commitf1425a0c6041d3d070e46f6ef397451f0e5acae0 (patch)
tree59f195d795a5305000db927f7f1021a71973dffa /Source/Core/DolphinQt2/MainWindow.cpp
parent9e1977e129a488068cdeca9cfc7eef59a14355e8 (diff)
parentba3df3db056b44588b425db272f9c61f0c4efa07 (diff)
Merge pull request #5652 from spycrab/qt_audio
Qt/Settings: Implement Audio tab
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 187fd6d289..b57ac4f134 100644
--- a/Source/Core/DolphinQt2/MainWindow.cpp
+++ b/Source/Core/DolphinQt2/MainWindow.cpp
@@ -126,6 +126,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);