diff options
author | Gabriel de Dietrich <gabriel.dedietrich@qt.io> | 2017-10-19 15:35:25 +0700 |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dedietrich@qt.io> | 2017-11-15 19:04:32 +0000 |
commit | 26986276531b7f0a3f950d4b3960d5302010d204 (patch) | |
tree | b6568c416c21dfd1f629660192d3de86fc4e4b22 /src/plugins/styles/mac/qmacstyle_mac_p_p.h | |
parent | c8a5f331c8fdbf243ccb467f7bc3c9f62bd47c9f (diff) |
QMenu: Refactor insertion of action in QPA menu
First, remove a bit of code duplication around the creation of
the platform menu item. Then, we move copyActionToPlatformItem()
inside QMenuPrivate to get rid of one parameter.
Change-Id: I5a33103566367f2313930479844365e79773d82f
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/plugins/styles/mac/qmacstyle_mac_p_p.h')
0 files changed, 0 insertions, 0 deletions