Revert "fix some things cppcheck found...some are TODO because i don't feel like investigating them"

This reverts commit 173575e835.
This commit is contained in:
DarthArgus
2015-03-26 00:00:15 -05:00
parent 38e4dfee11
commit db15932436
15 changed files with 18 additions and 68 deletions
@@ -217,8 +217,8 @@ bool VisibleExpandableEntry::pruneInvisibleChildren()
for (Children::iterator i = m_children.begin(); i != m_children.end(); )
if ((*i)->m_visible == false)
{
delete *i;
m_children.erase(i);
delete *i;
}
else
++i;