128 @param button button that was clicked (QAbstractButton) |
128 @param button button that was clicked (QAbstractButton) |
129 """ |
129 """ |
130 if button == self.buttonBox.button(QDialogButtonBox.Close): |
130 if button == self.buttonBox.button(QDialogButtonBox.Close): |
131 self.accept() |
131 self.accept() |
132 elif button == self.buttonBox.button(QDialogButtonBox.Cancel): |
132 elif button == self.buttonBox.button(QDialogButtonBox.Cancel): |
133 self.__finish(0, 0, ) |
133 self.__finish(0, 0, giveUp=True) |
134 |
134 |
135 def __finish(self, exitCode, exitStatus, giveUp=False): |
135 def __finish(self, exitCode, exitStatus, giveUp=False): |
136 """ |
136 """ |
137 Private slot called when the process finished. |
137 Private slot called when the process finished. |
138 |
138 |