142 @param button button that was clicked (QAbstractButton) |
142 @param button button that was clicked (QAbstractButton) |
143 """ |
143 """ |
144 if button == self.buttonBox.button(QDialogButtonBox.Close): |
144 if button == self.buttonBox.button(QDialogButtonBox.Close): |
145 self.accept() |
145 self.accept() |
146 elif button == self.buttonBox.button(QDialogButtonBox.Cancel): |
146 elif button == self.buttonBox.button(QDialogButtonBox.Cancel): |
147 self.__finish() |
147 self.__finish(0, 0, giveUp=True) |
148 |
148 |
149 def __finish(self, exitCode, exitStatus, giveUp=False): |
149 def __finish(self, exitCode, exitStatus, giveUp=False): |
150 """ |
150 """ |
151 Private slot called when the process finished. |
151 Private slot called when the process finished. |
152 |
152 |