aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickstackview.cpp
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2020-05-28 08:41:31 +0200
committerAndy Shaw <andy.shaw@qt.io>2020-05-29 11:12:26 +0200
commit7640c9988f37e49e12f56be7a30ea97170922b9f (patch)
treeadfa05b474203520a4b21b2e3372b77f53c67335 /src/quicktemplates2/qquickstackview.cpp
parent0e18524a84d2aae65c54edc676d8ad7348f7d61c (diff)
Sync the QQuickPlatformMenu so it has a handle ready when its a sub menu
When dynamically creating a menu, it will be parented after it has created the handle the first time around. Therefore it loses the original handle and does not get a new one when needed. So by calling sync() before it is set as the sub menu then it can get a handle created if necessary in time. Change-Id: Ia39f49f99758802dd19ff1df478b05ac5e403ea8 Pick-to: 5.15 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickstackview.cpp')
0 files changed, 0 insertions, 0 deletions