From 228aaed2f43c34d9b5a1b9389e2f76be0d89e5c6 Mon Sep 17 00:00:00 2001 From: donoban Date: Sat, 20 Oct 2018 16:28:19 +0200 Subject: [PATCH] Removed progress.setWindowFlags() call I am not sure what this wants, but it seems that doesn't affect xfce but on kde does the progress bar appear randomly in the screen without it on both cases it appears at center of screen --- qubesmanager/qube_manager.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/qubesmanager/qube_manager.py b/qubesmanager/qube_manager.py index 12ffb99..8700bd2 100644 --- a/qubesmanager/qube_manager.py +++ b/qubesmanager/qube_manager.py @@ -815,9 +815,6 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QtGui.QMainWindow): progress = QtGui.QProgressDialog( self.tr("Cloning Qube {0} to {1}...").format( vm.name, clone_name), "", 0, 0) - progress.setWindowFlags(QtCore.Qt.Window | - QtCore.Qt.WindowTitleHint | - QtCore.Qt.CustomizeWindowHint) progress.setCancelButton(None) progress.setModal(True) progress.show()