47 | QDialogButtonBox.StandardButton.Cancel |
47 | QDialogButtonBox.StandardButton.Cancel |
48 ) |
48 ) |
49 else: |
49 else: |
50 self.buttonBox.setStandardButtons(QDialogButtonBox.StandardButton.Close) |
50 self.buttonBox.setStandardButtons(QDialogButtonBox.StandardButton.Close) |
51 |
51 |
|
52 backend = circup.DiskBackend(devicePath, circup.logger) |
52 self.__modules = { |
53 self.__modules = { |
53 m.name: m |
54 m.name: m |
54 for m in circup.find_modules(devicePath, circup.get_bundles_list()) |
55 for m in circup.find_modules(backend, circup.get_bundles_list()) |
55 if m.outofdate |
56 if m.outofdate |
56 } |
57 } |
57 if self.__modules: |
58 if self.__modules: |
58 self.header.setText( |
59 self.header.setText( |
59 self.tr( |
60 self.tr( |