roll back 7e17056: m_index does not exist anymore

m_index was removed in 03ce82a.
This commit is contained in:
Mathias Gumz 2015-05-01 10:50:50 +02:00
parent dce4721c84
commit 5b6fe35287

View file

@ -47,8 +47,7 @@ public:
m_enabled(true),
m_selected(false),
m_close_on_click(true),
m_toggle_item(false),
m_index(0)
m_toggle_item(false)
{ }
explicit MenuItem(const BiDiString &label)
@ -59,7 +58,6 @@ public:
m_selected(false),
m_close_on_click(true),
m_toggle_item(false)
m_index(0)
{ }
MenuItem(const BiDiString &label, Menu &host_menu)
@ -70,7 +68,6 @@ public:
m_selected(false),
m_close_on_click(true),
m_toggle_item(false)
m_index(0)
{ }
/// create a menu item with a specific command to be executed on click
MenuItem(const BiDiString &label, RefCount<Command<void> > &cmd, Menu *menu = 0)
@ -82,7 +79,6 @@ public:
m_selected(false),
m_close_on_click(true),
m_toggle_item(false)
m_index(0)
{ }
MenuItem(const BiDiString &label, Menu *submenu, Menu *host_menu = 0)
@ -93,7 +89,6 @@ public:
m_selected(false),
m_close_on_click(true),
m_toggle_item(false)
m_index(0)
{ }
virtual ~MenuItem();