88 elif guard.startswith("-"): |
88 elif guard.startswith("-"): |
89 icon = UI.PixmapCache.getIcon("minus.png") |
89 icon = UI.PixmapCache.getIcon("minus.png") |
90 guard = guard[1:] |
90 guard = guard[1:] |
91 else: |
91 else: |
92 icon = None |
92 icon = None |
93 guard = self.trUtf8("Unguarded") |
93 guard = self.tr("Unguarded") |
94 itm = QTreeWidgetItem(patchItm, [guard]) |
94 itm = QTreeWidgetItem(patchItm, [guard]) |
95 if icon: |
95 if icon: |
96 itm.setIcon(0, icon) |
96 itm.setIcon(0, icon) |
97 else: |
97 else: |
98 QTreeWidgetItem(self.guardsTree, [self.trUtf8("no patches found")]) |
98 QTreeWidgetItem(self.guardsTree, [self.tr("no patches found")]) |