mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 10:51:50 -05:00
Merge pull request #12925 from german77/linux-tab
yuzu: Fully hide linux tab
This commit is contained in:
commit
35ed9425d7
1 changed files with 3 additions and 0 deletions
|
@ -73,8 +73,11 @@ ConfigurePerGame::ConfigurePerGame(QWidget* parent, u64 title_id_, const std::st
|
||||||
ui->tabWidget->addTab(graphics_advanced_tab.get(), tr("Adv. Graphics"));
|
ui->tabWidget->addTab(graphics_advanced_tab.get(), tr("Adv. Graphics"));
|
||||||
ui->tabWidget->addTab(audio_tab.get(), tr("Audio"));
|
ui->tabWidget->addTab(audio_tab.get(), tr("Audio"));
|
||||||
ui->tabWidget->addTab(input_tab.get(), tr("Input Profiles"));
|
ui->tabWidget->addTab(input_tab.get(), tr("Input Profiles"));
|
||||||
|
|
||||||
// Only show Linux tab on Unix
|
// Only show Linux tab on Unix
|
||||||
|
linux_tab->setVisible(false);
|
||||||
#ifdef __unix__
|
#ifdef __unix__
|
||||||
|
linux_tab->setVisible(true);
|
||||||
ui->tabWidget->addTab(linux_tab.get(), tr("Linux"));
|
ui->tabWidget->addTab(linux_tab.get(), tr("Linux"));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue