summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorEnrico Ros <eros.kde@email.it>2014-09-16 03:37:06 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-12-15 19:54:02 +0100
commit217873db13ca3a74fc24224969a3dc421bb33f28 (patch)
tree5132a717d853bfe6a2a70cda127f99262204b04a /src/widgets
parentfd6922e60b548c4beddc29acedab72563148382b (diff)
downloadqt3-217873db13ca3a74fc24224969a3dc421bb33f28.tar.gz
qt3-217873db13ca3a74fc24224969a3dc421bb33f28.zip
Fix unwanted toggling TQIconViewItem focus on click
This fixes the 'flashing' icon when clicking repeatedly on a TQIconView or derivates (ie TDEIconView, KonqIconViewWidget, the KDesktop and so on..). The current behavior considers that if not over an icon, the user is clicking down to perform icons selection (with the rubberband). This is not always true, since a click might be used to give focus to a window or unselect some icons. How this is fixed: when clicking down the mouse a flag is set. If the pointer is moved on the iconview with the button held down, then (and only at that moment) the rubber is created. Now a selection operation (the one done with the rubber) begins when moving the mouse and not only when clicking on the empty space. (cherry picked from commit fbc4cf8e7f2170744c12fd0d435639516c733db9)
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions