aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index c94891b..1708a69 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1498,12 +1498,8 @@ void BScreen::initMenus() {
1498void BScreen::initMenu() { 1498void BScreen::initMenu() {
1499 1499
1500 if (m_rootmenu.get()) { 1500 if (m_rootmenu.get()) {
1501 // since all menus in root is submenus in m_rootmenu
1502 // just remove every item in m_rootmenu and then clear m_rootmenu_list
1503 while (m_rootmenu->numberOfItems()) 1501 while (m_rootmenu->numberOfItems())
1504 m_rootmenu->remove(0); 1502 m_rootmenu->remove(0);
1505 m_rootmenu_list.clear();
1506
1507 } else 1503 } else
1508 m_rootmenu.reset(createMenu("")); 1504 m_rootmenu.reset(createMenu(""));
1509 1505