Commit 9ac92a93 authored by Robert Loehning's avatar Robert Loehning
Browse files

Squish: Fixed validateSearchResult()

Fixes fails in tst_CSUP04 introduced by 6b5bccd0



Change-Id: I7ad33b745e7a55b078952ca88c9ee5123ffc639b
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 3e88f62f
......@@ -269,7 +269,7 @@ def validateSearchResult(expectedCount):
for chRow in range(model.rowCount(index)):
chIndex = model.index(chRow, 0, index)
resultTreeView.scrollTo(chIndex)
text = str(chIndex.data())
text = str(chIndex.data()).rstrip('\r')
rect = resultTreeView.visualRect(chIndex)
doubleClick(resultTreeView, rect.x+5, rect.y+5, 0, Qt.LeftButton)
editor = getEditorForFileSuffix(itemText)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment