aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/RefCount.hh
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2015-01-22 09:09:08 (GMT)
committerMathias Gumz <akira@fluxbox.org>2015-01-22 09:09:08 (GMT)
commit5428edf3daec57f490518ac356f60cc1a05a3693 (patch)
tree5b88c07a8b8b5b7bb39fac5e85e7ddf26d822e0b /src/FbTk/RefCount.hh
parent1ec4fb6b6cb6d4b93dddc40c59abf62552445ad2 (diff)
downloadfluxbox-5428edf3daec57f490518ac356f60cc1a05a3693.zip
fluxbox-5428edf3daec57f490518ac356f60cc1a05a3693.tar.bz2
Fix removing windows from icon list
std::remove_if() removes an item from a container and returns a past-the-end iterator ... which equals m_icon_list.end(). As a result the check if (erase_it != m_icon_list.end()) { iconList().erase(erase_it); iconListSig().emit(*this); } will never succeed and thus the iconListSig() will never be emitted.
Diffstat (limited to 'src/FbTk/RefCount.hh')
0 files changed, 0 insertions, 0 deletions