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
parent
c4c895d2dd
commit
b1c43b072f
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue