Move assignment of mousePressed variable in QWidgetTextControl
authorJorgen Lind <jorgen.lind@gmail.com>
Tue, 4 Sep 2012 13:03:53 +0000 (15:03 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 5 Sep 2012 04:36:13 +0000 (06:36 +0200)
commit0eb3d743863e7a32cd926c1424686dbde6db941b
treea5a78df1f846f6d8f391ed44fef3d508cfc5143c
parentd7cfd02082cff3be6622b95fd71ddea77c3401ee
Move assignment of mousePressed variable in QWidgetTextControl

Or else we never hit the path where middle button click pasts selection
on X11. This is also how it worked in Qt 4.

Change-Id: Ia090c465db0e5e8cb249f5d752e0bb86951e2eb0
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/widgets/widgets/qwidgettextcontrol.cpp