diff options
author | Vladimir Belyavsky <belyavskyv@gmail.com> | 2022-09-14 14:09:49 +0300 |
---|---|---|
committer | Vladimir Belyavsky <belyavskyv@gmail.com> | 2022-09-20 00:04:05 +0300 |
commit | 85ba26c64488b76bf7fac37bc001d9762188009a (patch) | |
tree | 5f9baf37545fceedf6d4e35edbc2d839e69ae9a4 /tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp | |
parent | 169f0f71665a3a5155f8d63a9c11bc2484353561 (diff) |
QuickControls2: implement icons for submenus
Previously in Qt 5 there was an option to define iconSource property
in Controls 1 Menu. But it's missed in Controls 2, so it's not possible
to use icon for submenu item in Qt 6. This patch introduces icon group
property for the Menu so that it behaves and displayed the same as for
regular menu items.
[ChangeLog][QtQuick][Controls] Now it's possible to set icon for Menu.
This is useful for submenus, so icon will be displayed as for regular
menu items.
Fixes: QTBUG-79972
Change-Id: I4610d4b6d40c51b774b035e238e5e1ceea53a8a3
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp')
0 files changed, 0 insertions, 0 deletions