diff options
author | Boris Dušek <me@dusek.me> | 2015-03-17 23:01:56 +0100 |
---|---|---|
committer | Boris Dušek <me@dusek.me> | 2015-03-25 09:47:40 +0000 |
commit | 898ca6ff769c10c76c40cecb8f9cc82bacb3241f (patch) | |
tree | 3841a53cdbb32b8f971f8a8be456cb7295e9cd34 /tests/auto/other/qaccessibility | |
parent | b465edbcabc81f6f36761541bd5eb3f9e8a41ec5 (diff) |
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: I38807a9b3b511478a1742c4422a97c1cb3395a02
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Diffstat (limited to 'tests/auto/other/qaccessibility')
-rw-r--r-- | tests/auto/other/qaccessibility/tst_qaccessibility.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp index 98cbfa00f3..c15ec44bb8 100644 --- a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp +++ b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp @@ -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; |