summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicswidget_p.cpp
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2009-12-14 13:09:36 (GMT)
committerGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2009-12-15 10:03:30 (GMT)
commitd6cd6c59dae36b2890baae98f0bf94b23e5509da (patch)
tree84ee23490fac7ab40f2788095b463b35e6d07b55 /src/gui/graphicsview/qgraphicswidget_p.cpp
parentc5ae0ffd52ee3f2964404bf85dee55712fb6bd8c (diff)
downloadQt-d6cd6c59dae36b2890baae98f0bf94b23e5509da.zip
Qt-d6cd6c59dae36b2890baae98f0bf94b23e5509da.tar.gz
Qt-d6cd6c59dae36b2890baae98f0bf94b23e5509da.tar.bz2
Clicking on a selected item wouldn't reset the selection anymore.
Before commit 88ecc8c8250505129ccff2660c60412996e2fd85, this case was handled during the mouse release event, but was responsible for selections being made twice sometimes. We now check whether a selection actually happened during the mouse press event. If not, we will try to select again during the mouse release event. Auto-test included. Reviewed-by: Thierry Task-number: QTBUG-6753
Diffstat (limited to 'src/gui/graphicsview/qgraphicswidget_p.cpp')
0 files changed, 0 insertions, 0 deletions