aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-05-11 16:08:14 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-05-11 16:08:14 (GMT)
commit85d8ac754974aae0a513b585e4f1810007cb157c (patch)
treeb12182052173fe83ace705e0dc41502b4b358a35 /src/Screen.cc
parenta9fd0f5b26860c2227ac6169039332a00e65cc01 (diff)
downloadfluxbox-85d8ac754974aae0a513b585e4f1810007cb157c.zip
fluxbox-85d8ac754974aae0a513b585e4f1810007cb157c.tar.bz2
more useless code
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