mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
implement destructors
This commit is contained in:
parent
ee890b9859
commit
a8df7e1ebe
12 changed files with 92 additions and 9 deletions
|
|
@ -10,7 +10,7 @@ Menu::Menu()
|
|||
);
|
||||
|
||||
// Build tab submenu
|
||||
auto tab = Gio::Menu::create();
|
||||
tab = Gio::Menu::create();
|
||||
|
||||
tab->append(
|
||||
_("New tab.."),
|
||||
|
|
@ -18,7 +18,7 @@ Menu::Menu()
|
|||
);
|
||||
|
||||
// Build tool submenu
|
||||
auto tool = Gio::Menu::create();
|
||||
tool = Gio::Menu::create();
|
||||
|
||||
tool->append(
|
||||
_("Debug"),
|
||||
|
|
@ -26,7 +26,7 @@ Menu::Menu()
|
|||
);
|
||||
|
||||
// Build main menu
|
||||
auto main = Gio::Menu::create();
|
||||
main = Gio::Menu::create();
|
||||
|
||||
main->append_submenu(
|
||||
_("Tab"),
|
||||
|
|
@ -46,4 +46,6 @@ Menu::Menu()
|
|||
set_menu_model(
|
||||
main
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Menu::~Menu() = default;
|
||||
Loading…
Add table
Add a link
Reference in a new issue