forked from qt-creator/qt-creator
Squish: Use dumpIndices()
Change-Id: Iecfaec20c54014b361268947145f80409103388e Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -84,8 +84,7 @@ def waitForCompile(timeout=60000):
|
||||
|
||||
def dumpBuildIssues(listModel):
|
||||
issueDump = []
|
||||
for row in range(listModel.rowCount()):
|
||||
index = listModel.index(row, 0)
|
||||
for index in dumpIndices(listModel):
|
||||
issueDump.extend([map(lambda role: index.data(role).toString(),
|
||||
range(Qt.UserRole, Qt.UserRole + 6))])
|
||||
return issueDump
|
||||
|
Reference in New Issue
Block a user