summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-02-04 05:12:40 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-02-04 05:12:49 +0100
commitedbfbf2f2fc43f45d97ec5cd1d7ebddf194ae19c (patch)
treea53119b5ea91578ce0a65a8f5928298024bae99c /src
parentMerge pull request #7838 from lioncash/noncopy (diff)
downloadyuzu-edbfbf2f2fc43f45d97ec5cd1d7ebddf194ae19c.tar
yuzu-edbfbf2f2fc43f45d97ec5cd1d7ebddf194ae19c.tar.gz
yuzu-edbfbf2f2fc43f45d97ec5cd1d7ebddf194ae19c.tar.bz2
yuzu-edbfbf2f2fc43f45d97ec5cd1d7ebddf194ae19c.tar.lz
yuzu-edbfbf2f2fc43f45d97ec5cd1d7ebddf194ae19c.tar.xz
yuzu-edbfbf2f2fc43f45d97ec5cd1d7ebddf194ae19c.tar.zst
yuzu-edbfbf2f2fc43f45d97ec5cd1d7ebddf194ae19c.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 556d2cdb3..c788db12d 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1052,8 +1052,10 @@ void GMainWindow::SetDefaultUIGeometry() {
}
void GMainWindow::RestoreUIState() {
+ setWindowFlags(windowFlags() & ~Qt::FramelessWindowHint);
restoreGeometry(UISettings::values.geometry);
restoreState(UISettings::values.state);
+ render_window->setWindowFlags(render_window->windowFlags() & ~Qt::FramelessWindowHint);
render_window->restoreGeometry(UISettings::values.renderwindow_geometry);
#if MICROPROFILE_ENABLED
microProfileDialog->restoreGeometry(UISettings::values.microprofile_geometry);