From fd1e5d740a8364908ca00135603761314144b410 Mon Sep 17 00:00:00 2001 From: donoban Date: Wed, 24 Oct 2018 10:58:36 +0200 Subject: [PATCH] Fix travis errors --- qubesmanager/about.py | 16 ++++++++-------- qubesmanager/qube_manager.py | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/qubesmanager/about.py b/qubesmanager/about.py index 5b8a915..6b2abb2 100644 --- a/qubesmanager/about.py +++ b/qubesmanager/about.py @@ -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_() diff --git a/qubesmanager/qube_manager.py b/qubesmanager/qube_manager.py index bee3760..bf5dea4 100644 --- a/qubesmanager/qube_manager.py +++ b/qubesmanager/qube_manager.py @@ -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()