mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 17:58:18 +03:00
GMenu: Allow constructing without a name
We'll just default to "", which works fine for context menus.
This commit is contained in:
parent
45ded86bcb
commit
69365ccdd0
Notes:
sideshowbarker
2024-07-19 12:07:45 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/69365ccdd05
@ -10,7 +10,7 @@ class Point;
|
||||
|
||||
class GMenu {
|
||||
public:
|
||||
explicit GMenu(const StringView& name);
|
||||
explicit GMenu(const StringView& name = "");
|
||||
~GMenu();
|
||||
|
||||
static GMenu* from_menu_id(int);
|
||||
|
Loading…
Reference in New Issue
Block a user