Fix tst_qaccessibility::textEditTest for some screen resolutions

On a high resolution display the test will potentially create a text
edit that introduces line breaks and these make it fail then.

Change-Id: Ie82cc4b4139fe0f51ddca219c5c911957fa715b7
Reviewed-by: Boris Dušek <me@dusek.me>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
bb10
Frederik Gladhorn 2015-02-10 17:49:10 +01:00 committed by Jan Arve Sæther
parent c4c895d2dd
commit b1c43b072f
1 changed files with 1 additions and 0 deletions

View File

@ -1748,6 +1748,7 @@ void tst_QAccessibility::textEditTest()
for (int pass = 0; pass < 2; ++pass) {
{
QTextEdit edit;
edit.setMinimumSize(600, 400);
setFrameless(&edit);
int startOffset;
int endOffset;