diff options
author | Robert Loehning <robert.loehning@qt.io> | 2018-06-29 16:43:47 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2018-07-02 09:10:58 +0000 |
commit | 9e6fe45ad923f71c7c8cc145d7ad45da299c018a (patch) | |
tree | 4cbbb7f09215f3b46ef7728f2012108dfa13ba45 /tests | |
parent | d2a7adba56f9e5758943cc604c0cf9511d5c7d6f (diff) |
Squish: Fix for Qt 5.11
The items in the treeView look slightly different than
with Qt 5.10 and thus seem to lose the mouseclicks.
Change-Id: Ibee1abdbc9e9bfe622b45f76ed5e612e81fd1770
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/system/shared/editor_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/shared/editor_utils.py b/tests/system/shared/editor_utils.py index e648311f76..09b3af6ae7 100644 --- a/tests/system/shared/editor_utils.py +++ b/tests/system/shared/editor_utils.py @@ -333,7 +333,7 @@ def validateSearchResult(expectedCount): resultTreeView.scrollTo(chIndex) text = str(chIndex.data()).rstrip('\r') rect = resultTreeView.visualRect(chIndex) - doubleClick(resultTreeView, rect.x+5, rect.y+5, 0, Qt.LeftButton) + doubleClick(resultTreeView, rect.x+50, rect.y+5, 0, Qt.LeftButton) editor = getEditorForFileSuffix(itemText) if not waitFor("lineUnderCursor(editor) == text", 2000): test.warning("Jumping to search result '%s' is pretty slow." % text) |