From 9be4311798046a4dbf4b09134312b684b17c2f08 Mon Sep 17 00:00:00 2001 From: simonb Date: Thu, 29 Jun 2006 04:36:16 +0000 Subject: minor tidy, thanks Slava Semushin --- src/Toolbar.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Toolbar.cc b/src/Toolbar.cc index 26b31c4..54fa0e1 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc @@ -780,7 +780,6 @@ void Toolbar::updateVisibleState() { void Toolbar::toggleHidden() { - // toggle hidden m_hidden = ! m_hidden; if (isHidden()) @@ -789,9 +788,8 @@ void Toolbar::toggleHidden() { frame.window.move(frame.x, frame.y); ItemList::iterator item_it = m_item_list.begin(); ItemList::iterator item_it_end = m_item_list.end(); - for (item_it = m_item_list.begin(); item_it != item_it_end; ++item_it) { + for ( ; item_it != item_it_end; ++item_it) (*item_it)->parentMoved(); - } } } -- cgit v0.11.2