From b457828a0fca0172bfc04db3959d7a02d464e2fa Mon Sep 17 00:00:00 2001 From: gatsik <74517072+Gatsik@users.noreply.github.com> Date: Fri, 8 Apr 2022 23:54:45 +0300 Subject: [PATCH] Use PyQt5.7 compatible namespace in dialogs.py --- src/vaults/dialogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vaults/dialogs.py b/src/vaults/dialogs.py index 3f9fe49a0..13ace928a 100644 --- a/src/vaults/dialogs.py +++ b/src/vaults/dialogs.py @@ -43,7 +43,7 @@ def __init__(self, dler, title, label, silent=False): self._progress.canceled.connect(self._dler.cancel) progressBar = QtWidgets.QProgressBar(self._progress) - progressBar.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter) + progressBar.setAlignment(QtCore.Qt.AlignCenter) self._progress.setBar(progressBar) self.timer = QtCore.QTimer()