diff options
author | Enrico Ros <eros.kde@email.it> | 2014-09-16 03:37:06 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-09-16 03:41:25 +0200 |
commit | fbc4cf8e7f2170744c12fd0d435639516c733db9 (patch) | |
tree | 5ea57dac1b82647c0b02c5ce053f3b6068dce1f5 /src/widgets/qprogressbar.cpp | |
parent | e4b05c8f30bfa0a01adc00a7157bfc41acaaf4a0 (diff) | |
download | qt3-fbc4cf8e7f2170744c12fd0d435639516c733db9.tar.gz qt3-fbc4cf8e7f2170744c12fd0d435639516c733db9.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.
Diffstat (limited to 'src/widgets/qprogressbar.cpp')
0 files changed, 0 insertions, 0 deletions