Fix travis errors

This commit is contained in:
donoban 2018-10-24 10:58:36 +02:00
parent 042ff808b3
commit fd1e5d740a
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5
2 changed files with 10 additions and 10 deletions

View File

@ -38,13 +38,13 @@ class AboutDialog(ui_about.Ui_AboutDialog, QDialog):
self.release.setText(release_file.read())
self.ok.clicked.connect(self.accept)
self.releaseNotes.clicked.connect(self.on_release_notes_clicked)
self.informationNotes.clicked.connect(self.on_information_notes_clicked)
self.releaseNotes.clicked.connect(on_release_notes_clicked)
self.informationNotes.clicked.connect(on_information_notes_clicked)
def on_release_notes_clicked(self):
release_notes_dialog = ReleaseNotesDialog()
release_notes_dialog.exec_()
def on_release_notes_clicked():
release_notes_dialog = ReleaseNotesDialog()
release_notes_dialog.exec_()
def on_information_notes_clicked(self):
information_notes_dialog = InformationNotesDialog()
information_notes_dialog.exec_()
def on_information_notes_clicked():
information_notes_dialog = InformationNotesDialog()
information_notes_dialog.exec_()

View File

@ -1050,8 +1050,8 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow):
@QtCore.pyqtSlot(name='on_action_backup_triggered')
def action_backup_triggered(self):
if not self.backup_window:
self.backup_window = backup.BackupVMsWindow(self.qt_app, self.qubes_app,
self.dispatcher, self)
self.backup_window = backup.BackupVMsWindow(self.qt_app,
self.qubes_app, self.dispatcher, self)
self.backup_window.finished.connect(self._backup_finished)
self.backup_window.show()