diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-23 16:11:42 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-23 16:14:37 +0200 |
commit | b11c81cc1337b55f42a1653771517add1fb47d0c (patch) | |
tree | fd60b0c57f3d064db578399406cce7b0da1fc693 /src/yuzu/main.cpp | |
parent | Merge pull request #6686 from ReinUsesLisp/vk-optimal-copy (diff) | |
download | yuzu-b11c81cc1337b55f42a1653771517add1fb47d0c.tar yuzu-b11c81cc1337b55f42a1653771517add1fb47d0c.tar.gz yuzu-b11c81cc1337b55f42a1653771517add1fb47d0c.tar.bz2 yuzu-b11c81cc1337b55f42a1653771517add1fb47d0c.tar.lz yuzu-b11c81cc1337b55f42a1653771517add1fb47d0c.tar.xz yuzu-b11c81cc1337b55f42a1653771517add1fb47d0c.tar.zst yuzu-b11c81cc1337b55f42a1653771517add1fb47d0c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 03a909d17..96a301dda 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -2515,7 +2515,7 @@ void GMainWindow::ShowFullscreen() { ui.menubar->hide(); statusBar()->hide(); - if (Settings::values.fullscreen_mode.GetValue() == 1) { + if (Settings::values.fullscreen_mode.GetValue() == Settings::FullscreenMode::Exclusive) { showFullScreen(); return; } @@ -2530,7 +2530,7 @@ void GMainWindow::ShowFullscreen() { } else { UISettings::values.renderwindow_geometry = render_window->saveGeometry(); - if (Settings::values.fullscreen_mode.GetValue() == 1) { + if (Settings::values.fullscreen_mode.GetValue() == Settings::FullscreenMode::Exclusive) { render_window->showFullScreen(); return; } @@ -2547,7 +2547,7 @@ void GMainWindow::ShowFullscreen() { void GMainWindow::HideFullscreen() { if (ui.action_Single_Window_Mode->isChecked()) { - if (Settings::values.fullscreen_mode.GetValue() == 1) { + if (Settings::values.fullscreen_mode.GetValue() == Settings::FullscreenMode::Exclusive) { showNormal(); restoreGeometry(UISettings::values.geometry); } else { @@ -2561,7 +2561,7 @@ void GMainWindow::HideFullscreen() { statusBar()->setVisible(ui.action_Show_Status_Bar->isChecked()); ui.menubar->show(); } else { - if (Settings::values.fullscreen_mode.GetValue() == 1) { + if (Settings::values.fullscreen_mode.GetValue() == Settings::FullscreenMode::Exclusive) { render_window->showNormal(); render_window->restoreGeometry(UISettings::values.renderwindow_geometry); } else { |