diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-05-11 17:17:21 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-05-11 17:17:21 (GMT) |
commit | 72a45fae3c39323206e7d19913bb3ab17a691691 (patch) | |
tree | f920a884d39c8d5d161e0fa7a3c8a6296f7a3d71 /src/fluxbox.cc | |
parent | 85d8ac754974aae0a513b585e4f1810007cb157c (diff) | |
download | fluxbox-72a45fae3c39323206e7d19913bb3ab17a691691.zip fluxbox-72a45fae3c39323206e7d19913bb3ab17a691691.tar.bz2 |
reuse some menu pointers instead of using delete/new
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index d765d3c..7d774cc 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -1490,9 +1490,6 @@ void Fluxbox::rereadMenu() { | |||
1490 | for_each(m_screen_list.begin(), | 1490 | for_each(m_screen_list.begin(), |
1491 | m_screen_list.end(), | 1491 | m_screen_list.end(), |
1492 | mem_fun(&BScreen::rereadMenu)); | 1492 | mem_fun(&BScreen::rereadMenu)); |
1493 | |||
1494 | FbCommands::ShowRootMenuCmd showcmd; | ||
1495 | showcmd.execute(); | ||
1496 | } | 1493 | } |
1497 | 1494 | ||
1498 | void Fluxbox::saveMenuFilename(const char *filename) { | 1495 | void Fluxbox::saveMenuFilename(const char *filename) { |