fix: hide the entire performance tab on instance settings in non-Linux

"just woke up after a major release has just been made" coding style

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow 2022-07-23 12:37:45 -03:00
parent 6aad750fe0
commit 813dfbd2d3
No known key found for this signature in database
GPG Key ID: 8D0F221F0A59F469

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