Rename borderless windowed

This commit is contained in:
Jarred Wilson 2025-02-20 19:59:25 +00:00
parent b525dbd2e4
commit 090495d272
2 changed files with 4 additions and 3 deletions

View File

@ -77,7 +77,8 @@ SettingsDialog::SettingsDialog(std::span<const QString> physical_devices,
channelMap = {{tr("Release"), "Release"}, {tr("Nightly"), "Nightly"}};
logTypeMap = {{tr("async"), "async"}, {tr("sync"), "sync"}};
screenModeMap = {{tr("Borderless"), "Borderless"}, {tr("Windowed"), "Windowed"}};
screenModeMap = {{tr("Fullscreen (Borderless)"), "Fullscreen (Borderless)"},
{tr("Windowed"), "Windowed"}};
chooseHomeTabMap = {{tr("General"), "General"}, {tr("GUI"), "GUI"},
{tr("Graphics"), "Graphics"}, {tr("User"), "User"},
{tr("Input"), "Input"}, {tr("Paths"), "Paths"},
@ -647,7 +648,7 @@ void SettingsDialog::UpdateSettings() {
const QVector<std::string> TouchPadIndex = {"left", "center", "right", "none"};
Config::setBackButtonBehavior(TouchPadIndex[ui->backButtonBehaviorComboBox->currentIndex()]);
Config::setIsFullscreen(ui->displayModeComboBox->currentText().toStdString() ==
"Borderless Windowed");
"Fullscreen (Borderless)");
Config::setFullscreenMode(
screenModeMap.value(ui->displayModeComboBox->currentText()).toStdString());
Config::setIsMotionControlsEnabled(ui->motionControlsCheckBox->isChecked());

View File

@ -996,7 +996,7 @@
</item>
<item>
<property name="text">
<string>Borderless Windowed</string>
<string>Fullscreen (Borderless)</string>
</property>
</item>
</widget>