mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 20:29:42 +00:00
LibGUI: Add a GToolBar class that can be populated with GActions.
The same action can be added to both a menu and a toolbar. Use this to put a toolbar into FileManager. This is pretty neat. :^)
This commit is contained in:
@@ -6,7 +6,7 @@ GMenuItem::GMenuItem(Type type)
|
||||
{
|
||||
}
|
||||
|
||||
GMenuItem::GMenuItem(OwnPtr<GAction>&& action)
|
||||
GMenuItem::GMenuItem(RetainPtr<GAction>&& action)
|
||||
: m_type(Action)
|
||||
, m_action(move(action))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user