]> cloud.milkyroute.net Git - dolphin.git/commit
Emit KitemListSelectionManager's selectionChanged signal correctly
authorFrank Reininghaus <frank78ac@googlemail.com>
Thu, 11 Aug 2011 10:23:21 +0000 (12:23 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Thu, 11 Aug 2011 10:23:21 +0000 (12:23 +0200)
commit01ff60edeea76f77a5c4684d1f674efb81418faa
treea16ce3e1108328fb07badf93b73242f60555ae2c
parenta03f7dcd22ae9e2a60f5998e23762dbf2d14b41e
Emit KitemListSelectionManager's selectionChanged signal correctly

This commit makes sure that the signal is emitted with the correct
current and previous selection after a selection change, and
that the signal is emitted exactly once in
KItemListSelectionManager::itemsInserted and
KItemListSelectionManager::itemsRemoved.
src/kitemviews/kitemlistselectionmanager.cpp
src/tests/kitemlistselectionmanagertest.cpp