| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The example recommends to use Menu.addMenu(menu) to add
MenuItems dynamically. This will cause run-time warnings
to be printed, since a MenuItem is not a Menu.
Instead, let the example use addItem for adding
MenuItems dynamically.
Change-Id: Icd8f54566ba27e0a2c31e6b79d83225ab9a3c879
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 591bcbb95c14b02e9e989ffc437712f5e856b449)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 71ed751bfe4346672cc3de366cf838f179d7dcd8)
(cherry picked from commit ef4754c0b067d50eeb855253627f8b0958e21ef5)
|