Fix failing qtdeclarativetextedit auto-test
authorSimon Hausmann <simon.hausmann@digia.com>
Tue, 10 Jun 2014 09:42:23 +0000 (11:42 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 10 Jun 2014 12:09:29 +0000 (14:09 +0200)
commite3d32bce79ee81e0434e91b225adaa6c42b5ec3a
tree21518f3b94d20af7390b8e355c67d7eec94360a2
parent1a3d149174efca50de812c4f336a7ebfe069243c
Fix failing qtdeclarativetextedit auto-test

After commit c3baa7c1dc8c29bfe60e8e5c676c606d4f699005 the qtdeclarativetextedit
tests in the qtquick1 module started failing. This was due to commit
852abfca6f4c349dce9b895956922f96d82df579 from 4.8 not being forward-ported from
Qt 4 to Qt 5, hence the comment in c3baa7c1dc8c29bfe60e8e5c676c606d4f699005
about the missing mousePressEvent line. It was intentionally removed and
instead used further down, which is what this patch adds and therefore acts as
forward-port of 852abfca6f4c349dce9b895956922f96d82df579.

Change-Id: I55978c961002382c1f228bf796c469c10686ba9f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
src/widgets/widgets/qwidgettextcontrol.cpp