Disable the window mode options for always full-screen renderers

This commit is contained in:
Cameron Gutman 2020-02-09 11:35:05 -08:00
commit 57a1c5eb76
15 changed files with 64 additions and 38 deletions

View file

@ -340,7 +340,7 @@ Flickable {
currentIndex = 0
if (SystemProperties.hasWindowManager) {
if (SystemProperties.hasWindowManager && !SystemProperties.rendererAlwaysFullScreen) {
var savedWm = StreamingPreferences.windowMode
for (var i = 0; i < windowModeListModel.count; i++) {
var thisWm = windowModeListModel.get(i).val;
@ -355,7 +355,7 @@ Flickable {
}
id: windowModeComboBox
enabled: SystemProperties.hasWindowManager
enabled: SystemProperties.hasWindowManager && !SystemProperties.rendererAlwaysFullScreen
hoverEnabled: true
textRole: "text"
model: ListModel {