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:
parent
6aad750fe0
commit
813dfbd2d3
@ -349,7 +349,7 @@ void InstanceSettingsPage::loadSettings()
|
|||||||
ui->useDiscreteGpuCheck->setChecked(m_settings->get("UseDiscreteGpu").toBool());
|
ui->useDiscreteGpuCheck->setChecked(m_settings->get("UseDiscreteGpu").toBool());
|
||||||
|
|
||||||
#if !defined(Q_OS_LINUX)
|
#if !defined(Q_OS_LINUX)
|
||||||
ui->perfomanceGroupBox->setVisible(false);
|
ui->settingsTabs->setTabVisible(ui->settingsTabs->indexOf(ui->performancePage), false);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Miscellanous
|
// Miscellanous
|
||||||
|
Loading…
Reference in New Issue
Block a user