mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-16 07:17:17 -05:00
Qt: implement remainder of 'Options' menu
This commit is contained in:
@@ -41,7 +41,7 @@ SettingsWindow::SettingsWindow(QWidget* parent) : QDialog(parent)
|
||||
AddTab(m_tabs, tr("General"), new GeneralPane(), "config");
|
||||
AddTab(m_tabs, tr("Interface"), new InterfacePane(), "browse");
|
||||
auto* audio_pane = new AudioPane;
|
||||
AddTab(m_tabs, tr("Audio"), audio_pane, "play");
|
||||
m_audio_pane_index = AddTab(m_tabs, tr("Audio"), audio_pane, "play");
|
||||
AddTab(m_tabs, tr("Paths"), new PathPane(), "browse");
|
||||
|
||||
connect(this, &SettingsWindow::EmulationStarted,
|
||||
@@ -56,3 +56,8 @@ SettingsWindow::SettingsWindow(QWidget* parent) : QDialog(parent)
|
||||
|
||||
setLayout(layout);
|
||||
}
|
||||
|
||||
void SettingsWindow::SelectAudioPane()
|
||||
{
|
||||
m_tabs->setCurrentIndex(m_audio_pane_index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user