1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 19:57:45 +00:00

Add guards for linux-specific wine options

This commit is contained in:
redstrate 2021-11-09 14:17:04 -05:00
parent 5dd5482784
commit f6361675b0

View file

@ -295,9 +295,11 @@ void SettingsWindow::reloadControls() {
winePathLabel->setText(profile.winePath);
winePrefixDirectory->setText(profile.winePrefixPath);
#if defined(Q_OS_LINUX)
useEsync->setChecked(profile.useEsync);
useGamescope->setChecked(profile.useGamescope);
useGamemode->setChecked(profile.useGamemode);
#endif
// login
serverType->setCurrentIndex(profile.isSapphire ? 1 : 0);