mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 09:27:34 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class Point;
|
||||||
|
|
||||||
class GMenu {
|
class GMenu {
|
||||||
public:
|
public:
|
||||||
explicit GMenu(const StringView& name);
|
explicit GMenu(const StringView& name = "");
|
||||||
~GMenu();
|
~GMenu();
|
||||||
|
|
||||||
static GMenu* from_menu_id(int);
|
static GMenu* from_menu_id(int);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue