aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Toolbar.cc4
1 files changed, 1 insertions, 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() {
780 780
781void Toolbar::toggleHidden() { 781void Toolbar::toggleHidden() {
782 782
783
784 // toggle hidden 783 // toggle hidden
785 m_hidden = ! m_hidden; 784 m_hidden = ! m_hidden;
786 if (isHidden()) 785 if (isHidden())
@@ -789,9 +788,8 @@ void Toolbar::toggleHidden() {
789 frame.window.move(frame.x, frame.y); 788 frame.window.move(frame.x, frame.y);
790 ItemList::iterator item_it = m_item_list.begin(); 789 ItemList::iterator item_it = m_item_list.begin();
791 ItemList::iterator item_it_end = m_item_list.end(); 790 ItemList::iterator item_it_end = m_item_list.end();
792 for (item_it = m_item_list.begin(); item_it != item_it_end; ++item_it) { 791 for ( ; item_it != item_it_end; ++item_it)
793 (*item_it)->parentMoved(); 792 (*item_it)->parentMoved();
794 }
795 } 793 }
796 794
797} 795}