Merge pull request #951 from flowln/performace_tab_fix

Hide the entire performance tab on the instance settings in non-Linux OSes
This commit is contained in:
flow 2022-07-23 18:31:04 -03:00 committed by GitHub
commit 0e473f4570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -349,7 +349,7 @@ void InstanceSettingsPage::loadSettings()
ui->useDiscreteGpuCheck->setChecked(m_settings->get("UseDiscreteGpu").toBool());
#if !defined(Q_OS_LINUX)
ui->perfomanceGroupBox->setVisible(false);
ui->settingsTabs->setTabVisible(ui->settingsTabs->indexOf(ui->performancePage), false);
#endif
// Miscellanous