Init MenuItem::fShortcut in constructor (CID 10273).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40075 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
61aa1456a5
commit
80b5decbec
@ -50,7 +50,8 @@ MenuItem::MenuItem(const char *label, Menu *subMenu)
|
||||
fMenu(NULL),
|
||||
fSubMenu(subMenu),
|
||||
fData(NULL),
|
||||
fHelpText(NULL)
|
||||
fHelpText(NULL),
|
||||
fShortcut(0)
|
||||
{
|
||||
if (subMenu != NULL)
|
||||
subMenu->fSuperItem = this;
|
||||
|
Loading…
Reference in New Issue
Block a user