diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-10-12 03:02:35 +0200 |
---|---|---|
committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-10-12 03:02:35 +0200 |
commit | ecaf7132fe47f3965cdf3e48a1c2d859f3911cd0 (patch) | |
tree | 5d4045c65c51bd953dd6118bc6cc24f8c2c817bc /src/controls/Styles/Android/ApplicationWindowStyle.qml | |
parent | 1bc05eceb7823b38ddec1d8e874f371fb8b2045f (diff) | |
parent | 59264fc24e3806a7e43379a2b8c610148f89cccb (diff) |
Merge remote-tracking branch 'origin/5.14' into 5.15
Change-Id: I65f0f976bbf1a93240b109517ef09a33c62b6fb4
Diffstat (limited to 'src/controls/Styles/Android/ApplicationWindowStyle.qml')
-rw-r--r-- | src/controls/Styles/Android/ApplicationWindowStyle.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/controls/Styles/Android/ApplicationWindowStyle.qml b/src/controls/Styles/Android/ApplicationWindowStyle.qml index c8201de79..de1184fff 100644 --- a/src/controls/Styles/Android/ApplicationWindowStyle.qml +++ b/src/controls/Styles/Android/ApplicationWindowStyle.qml @@ -37,6 +37,7 @@ ** ****************************************************************************/ +import QtQml 2.14 as Qml import QtQuick 2.2 import QtQuick.Controls 1.2 import QtQuick.Controls.Styles 1.3 @@ -111,12 +112,13 @@ QtObject { items: control.menuBar ? control.menuBar.menus : [] } - Binding { + Qml.Binding { target: control.toolBar property: "__menu" value: proxyMenu.items.length > 1 ? proxyMenu : proxyMenu.items.length === 1 ? proxyMenu.items[0] : null when: hasToolBar + restoreMode: Binding.RestoreBinding } } } |