From e124d83edc33bee4a415125ead83f8c82d2509d3 Mon Sep 17 00:00:00 2001 From: donoban Date: Tue, 23 Oct 2018 00:07:55 +0200 Subject: [PATCH] Removed processEvents() calls --- qubesmanager/qube_manager.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/qubesmanager/qube_manager.py b/qubesmanager/qube_manager.py index 011f2ee..369086d 100644 --- a/qubesmanager/qube_manager.py +++ b/qubesmanager/qube_manager.py @@ -752,7 +752,6 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow): "or setting that uses it.").format(list_text)) info_dialog.setModal(False) info_dialog.show() - self.qt_app.processEvents() return @@ -869,8 +868,6 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow): "running applications within this Qube.").format( vm.name), QtGui.QMessageBox.Yes | QtGui.QMessageBox.Cancel) - self.qt_app.processEvents() - if reply == QtGui.QMessageBox.Yes: self.shutdown_vm(vm) @@ -904,8 +901,6 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow): "applications within this Qube.").format(vm.name), QtGui.QMessageBox.Yes | QtGui.QMessageBox.Cancel) - self.qt_app.processEvents() - if reply == QtGui.QMessageBox.Yes: # in case the user shut down the VM in the meantime if vm.is_running(): @@ -934,8 +929,6 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow): QtGui.QMessageBox.Yes | QtGui.QMessageBox.Cancel, QtGui.QMessageBox.Cancel) - self.qt_app.processEvents() - if reply == QtGui.QMessageBox.Yes: try: vm.kill()