339 entryInfoList = qdir.entryInfoList(filter) |
339 entryInfoList = qdir.entryInfoList(filter) |
340 |
340 |
341 if len(entryInfoList) > 0: |
341 if len(entryInfoList) > 0: |
342 if repopulate: |
342 if repopulate: |
343 self.beginInsertRows(self.createIndex( |
343 self.beginInsertRows(self.createIndex( |
344 parentItem.row(), 0, parentItem), |
344 parentItem.row(), 0, parentItem), |
345 0, len(entryInfoList) - 1) |
345 0, len(entryInfoList) - 1) |
346 states = {} |
346 states = {} |
347 if self.project.vcs is not None: |
347 if self.project.vcs is not None: |
348 for f in entryInfoList: |
348 for f in entryInfoList: |
349 fname = f.absoluteFilePath() |
349 fname = f.absoluteFilePath() |