summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qsplitter.cpp
diff options
context:
space:
mode:
authorDongmei Wang <dongmei.wang@qt.io>2016-11-17 14:00:30 -0800
committerGabriel de Dietrich <gabriel.dedietrich@qt.io>2017-04-14 17:06:12 +0000
commitae6ef2e3ec2174b2253fd04e1d69b949d3130067 (patch)
tree3155d95e4a3eebc93afc72d5597d7a43e9cbd4fc /src/widgets/widgets/qsplitter.cpp
parenteea585ad0bfb92947ae2d77f3bc6662121cec9a9 (diff)
QMenu: Fix torn-off menu display crash issue
When tearing off either a non-scrollable multi-colume menu or a scrollable menu, displaying the torn-off menu crashes. The root cause is when the torn-off menu is created, the tear-off menu's style, margins and other attributes are not set to it. The patch is to ensure the torn-off menu has the same attributes as the tear-off menu does and set the torn-off menu with a correct menu size. Task-number: QTBUG-24815 Change-Id: Icea45f149ea8792671af4a62e62cad6ee01a1f95 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Diffstat (limited to 'src/widgets/widgets/qsplitter.cpp')
0 files changed, 0 insertions, 0 deletions