minor tidy, thanks Slava Semushin
This commit is contained in:
parent
1ddd177d1a
commit
9be4311798
1 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue