From 58d9f7bb70aa1471e551c537b0cd4e5f1917d1cb Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Tue, 9 Nov 2021 17:07:08 -0600 Subject: [PATCH] Only enable fullscreen on main window --- assets/qml/FramelessWindow/CustomWindow.qml | 1 + assets/qml/Windows/MainWindow.qml | 1 + 2 files changed, 2 insertions(+) diff --git a/assets/qml/FramelessWindow/CustomWindow.qml b/assets/qml/FramelessWindow/CustomWindow.qml index 2eb72335..d6dd1f04 100644 --- a/assets/qml/FramelessWindow/CustomWindow.qml +++ b/assets/qml/FramelessWindow/CustomWindow.qml @@ -91,6 +91,7 @@ Window { property alias closeEnabled: border.closeEnabled property alias minimizeEnabled: border.minimizeEnabled property alias maximizeEnabled: border.maximizeEnabled + property alias fullscreenEnabled: border.fullscreenEnabled // // Shadow implementation diff --git a/assets/qml/Windows/MainWindow.qml b/assets/qml/Windows/MainWindow.qml index 0faea63f..d25fb38a 100644 --- a/assets/qml/Windows/MainWindow.qml +++ b/assets/qml/Windows/MainWindow.qml @@ -46,6 +46,7 @@ FramelessWindow.CustomWindow { // Customize window border // borderWidth: 1 + fullscreenEnabled: true borderColor: Qt.darker(Cpp_ThemeManager.toolbarGradient2, 1.5) //