summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpixmap.cpp
diff options
context:
space:
mode:
authorThorbjørn Lund Martsum <tmartsum@gmail.com>2012-12-03 21:49:54 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-09 15:58:09 +0100
commit137906da8e745a96c64c8120d25ff8845d82fcda (patch)
tree946f0e953a3ba167638a031c03f935df18431d05 /src/gui/image/qpixmap.cpp
parent20bde28448583eecb1e37b9492eb4dc73b1409fe (diff)
QGraphicsView - remove not needed storeMouseEvent
updateRubberBand is only called from mouseMoveEvent. The event is not changed. At the end of the event we call d->mouseMoveEventHandler which calls storeMouseEvent. There is no need to call it twice. Beside that this patch also changes the argument from QMouseEvent* to const QMouseEvent*. The only reason it needed to be const was the call to storeMouseEvent. Change-Id: I01148a6a8d36e782c4d95a90e36435e20b1681e1 Reviewed-by: Andreas Aardal Hanssen <andreas@hanssen.name> Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/gui/image/qpixmap.cpp')
0 files changed, 0 insertions, 0 deletions