]> cloud.milkyroute.net Git - dolphin.git/commit
If an item is clicked to trigger it, clear the rest of the selection
authorFrank Reininghaus <frank78ac@googlemail.com>
Mon, 16 Jan 2012 18:59:54 +0000 (19:59 +0100)
committerFrank Reininghaus <frank78ac@googlemail.com>
Mon, 16 Jan 2012 19:03:49 +0000 (20:03 +0100)
commit555364c006d24daad0755d949c770f44c47fb614
treeda2140845471eccacc7cbf18314b3711e1110125
parenta7295033e669cc651421b4d4262cb310589ac282
If an item is clicked to trigger it, clear the rest of the selection

Note that the clearing is not done on mouse press, but on mouse release.
The reason is that there are situations when multiple items are selected
and pressing the mouse on one of them should not clear the selection
(e.g., drag and drop of multiple items).

BUG: 290854
REVIEW: 103703
FIXED-IN: 4.8.0
(cherry picked from commit 9f711b5f2e1d1fd856cd6b033e6adb96f9b46d8a)
src/kitemviews/kitemlistcontroller.cpp
src/kitemviews/kitemlistcontroller.h