mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Merge pull request #5984 from spycrab/qt_gecko
Qt/GameList: Implement "Gecko codes" Tab
This commit is contained in:
@ -39,7 +39,7 @@ SettingsWindow::SettingsWindow(QWidget* parent) : QDialog(parent)
|
||||
m_tabs = new ListTabWidget();
|
||||
layout->addWidget(m_tabs);
|
||||
|
||||
AddTab(m_tabs, tr("General"), new GeneralPane(), "config");
|
||||
m_general_pane_index = AddTab(m_tabs, tr("General"), new GeneralPane(), "config");
|
||||
AddTab(m_tabs, tr("Interface"), new InterfacePane(), "browse");
|
||||
m_audio_pane_index = AddTab(m_tabs, tr("Audio"), new AudioPane(), "play");
|
||||
AddTab(m_tabs, tr("Paths"), new PathPane(), "browse");
|
||||
@ -57,3 +57,8 @@ void SettingsWindow::SelectAudioPane()
|
||||
{
|
||||
m_tabs->setCurrentIndex(m_audio_pane_index);
|
||||
}
|
||||
|
||||
void SettingsWindow::SelectGeneralPane()
|
||||
{
|
||||
m_tabs->setCurrentIndex(m_general_pane_index);
|
||||
}
|
||||
|
Reference in New Issue
Block a user