forked from qt-creator/qt-creator
SquishTests: Explicitly convert QString to str
Change-Id: Idcd70a18ed5535d8ad76c09007558cb96f20d178 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
This commit is contained in:
@@ -56,7 +56,7 @@ def waitForCompile(timeout=60000):
|
|||||||
def dumpBuildIssues(listModel):
|
def dumpBuildIssues(listModel):
|
||||||
issueDump = []
|
issueDump = []
|
||||||
for index in dumpIndices(listModel):
|
for index in dumpIndices(listModel):
|
||||||
issueDump.extend([[index.data(role).toString() for role
|
issueDump.extend([[str(index.data(role).toString()) for role
|
||||||
in range(Qt.UserRole, Qt.UserRole + 6)]])
|
in range(Qt.UserRole, Qt.UserRole + 6)]])
|
||||||
return issueDump
|
return issueDump
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user