summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2020-07-27 01:57:09 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-28 16:29:44 +0200
commit70fe126d01ef824922986c7cd23c1a8753f9ef73 (patch)
tree97156ffbabd788db7a03f54a79225160ca5fd498 /CMakeLists.txt
parent048f149f5172e10c454139630aa8f34f8e2e5832 (diff)
downloadserenity-70fe126d01ef824922986c7cd23c1a8753f9ef73.zip
LibGUI: Enable icons for SubMenus
It doesn't make sense for a top-level menu to have an icon, however we do not have dedicated classes to distinguish these. Furthermore, the only other place to store an icon is MenuItem. Storing it there would be highly confusing, as MenuItem-with-Action then would have two icons: one in Action and one in MenuItem. And because we need to be able to replace the icon during realization, this would need to write-through to Action somehow. That's why I went with Menu, not MenuItem.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions