summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/src_gui_util_qundostack.cpp
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@digia.com>2014-03-18 12:56:10 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-20 11:24:22 +0100
commitb6e15e047d7f981cbd987e60a1adcf62a57010a1 (patch)
tree18b3f90d6a333f7897c8df369b4e51a4a88b63cd /doc/src/snippets/code/src_gui_util_qundostack.cpp
parent020d873a5753c4c147d11ac98682d270554e1d05 (diff)
downloadqt4-tools-b6e15e047d7f981cbd987e60a1adcf62a57010a1.tar.gz
QMenu: Enable sloppy submenu mouse navigation
Since we're in the 21st century, we set QCommonStyle to return true to the SH_Menu_SloppySubMenus style hint. This unlocks all the logic already available in QMenu. This is a backport of I134c87e348d98d1f46055e0bfef2b4a4a3d2993a from qt/qtbase and includes some previous enhancements. Task-number: QTBUG-20094 [ChangeLog][QtWidgets][QMenu] Enable sloppy submenu mouse navigation Change-Id: If4141a3d849123850e40af92ac5aede9ed767bdf Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'doc/src/snippets/code/src_gui_util_qundostack.cpp')
0 files changed, 0 insertions, 0 deletions