From e1554c04a128477b082cc633a5e2e1d5aa5c2fa3 Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Sun, 16 Jul 2017 14:11:11 -0700 Subject: Qt: implement remainder of 'Options' menu --- Source/Core/DolphinQt2/MainWindow.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Source/Core/DolphinQt2/MainWindow.cpp') diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index 767e214e34..14eb4e8ddc 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -184,6 +184,10 @@ void MainWindow::ConnectMenuBar() connect(m_menu_bar, &MenuBar::SetStateSlot, this, &MainWindow::SetStateSlot); // Options + connect(m_menu_bar, &MenuBar::Configure, this, &MainWindow::ShowSettingsWindow); + connect(m_menu_bar, &MenuBar::ConfigureGraphics, this, &MainWindow::ShowGraphicsWindow); + connect(m_menu_bar, &MenuBar::ConfigureAudio, this, &MainWindow::ShowAudioWindow); + connect(m_menu_bar, &MenuBar::ConfigureControllers, this, &MainWindow::ShowControllersWindow); connect(m_menu_bar, &MenuBar::ConfigureHotkeys, this, &MainWindow::ShowHotkeyDialog); // Tools @@ -505,6 +509,12 @@ void MainWindow::ShowSettingsWindow() m_settings_window->activateWindow(); } +void MainWindow::ShowAudioWindow() +{ + m_settings_window->SelectAudioPane(); + ShowSettingsWindow(); +} + void MainWindow::ShowAboutDialog() { AboutDialog* about = new AboutDialog(this); -- cgit v1.2.3