Skip to content
Snippets Groups Projects
Commit 9f2b0f07 authored by Aline Gondim Santos's avatar Aline Gondim Santos Committed by Aline Gondim Santos
Browse files

window: do not open app in fullscreen

Change-Id: Ifb54aba4eab0bbcaa53be0fd687b1c1c9e47a022
parent d4d73da8
No related branches found
No related tags found
No related merge requests found
......@@ -108,9 +108,9 @@ QtObject {
const visibilityStr = AppSettingsManager.getValue(Settings.WindowState)
var visibilitySetting = parseInt(visibilityStr)
// We should never restore a hidden state here. Default to normal
// We should never restore a hidden or fullscreen state here. Default to normal
// windowed state in such a case. This shouldn't happen.
if (visibilitySetting === Window.Hidden) {
if (visibilitySetting === Window.Hidden || visibilitySetting === Window.FullScreen) {
visibilitySetting = Window.Windowed
}
if (MainApplication.startMinimized) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment