diff --git a/qubesmanager/backup.py b/qubesmanager/backup.py index 71e3eee2..7a1e9ce6 100644 --- a/qubesmanager/backup.py +++ b/qubesmanager/backup.py @@ -387,7 +387,7 @@ def reject(self): 'dom0', 'admin.backup.Cancel', backup_utils.get_profile_name(True)) except exc.QubesException as ex: - QtWidgets.QMessageBox.warning( + QtGui.QMessageBox.warning( self, self.tr("Error cancelling backup!"), self.tr("ERROR: {}").format(str(ex))) diff --git a/qubesmanager/settings.py b/qubesmanager/settings.py index 3618334e..6fe02c6b 100644 --- a/qubesmanager/settings.py +++ b/qubesmanager/settings.py @@ -658,7 +658,7 @@ def remove_vm(self): thread.finished.connect(self.clear_threads) self.threads_list.append(thread) - self.progress = QtWidgets.QProgressDialog( + self.progress = QtGui.QProgressDialog( self.tr("Deleting Qube..."), "", 0, 0) self.progress.setCancelButton(None) self.progress.setModal(True)