Browse Source

Removed unneeded reject() definition

donoban 3 years ago
parent
commit
70ea6e2591
1 changed files with 0 additions and 4 deletions
  1. 0 4
      qubesmanager/bootfromdevice.py

+ 0 - 4
qubesmanager/bootfromdevice.py

@@ -41,7 +41,6 @@ class VMBootFromDeviceWindow(ui_bootfromdevice.Ui_BootDialog,
             self.tr("Boot {vm} from device").format(vm=self.vm))
 
         self.buttonBox.accepted.connect(self.save_and_apply)
-        self.buttonBox.rejected.connect(self.reject)
 
         # populate buttons and such
         self.__init_buttons__()
@@ -52,9 +51,6 @@ class VMBootFromDeviceWindow(ui_bootfromdevice.Ui_BootDialog,
         self.qapp.setApplicationName(self.tr("Boot Qube From Device"))
         self.qapp.setWindowIcon(QtGui.QIcon.fromTheme("qubes-manager"))
 
-    def reject(self):
-        self.done(0)
-
     def save_and_apply(self):
         if self.blockDeviceRadioButton.isChecked():
             self.cdrom_location = self.blockDeviceComboBox.currentText()