diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-07-08 02:28:37 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-07-08 02:28:37 -0700 |
commit | 20c781b23b0d2bd2be8bed0c015eb6c82312c29a (patch) | |
tree | 7532606cebff4c8445822598fe75e5c81ccf2045 /launcher/ui/dialogs/ProgressDialog.h | |
parent | 3211b265d75dc7e28b1608935396bce2ac4648dd (diff) | |
download | PrismLauncher-20c781b23b0d2bd2be8bed0c015eb6c82312c29a.tar.gz PrismLauncher-20c781b23b0d2bd2be8bed0c015eb6c82312c29a.tar.bz2 PrismLauncher-20c781b23b0d2bd2be8bed0c015eb6c82312c29a.zip |
fix(progress dialog): if there is a parent center on creation
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/ui/dialogs/ProgressDialog.h')
-rw-r--r-- | launcher/ui/dialogs/ProgressDialog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/dialogs/ProgressDialog.h b/launcher/ui/dialogs/ProgressDialog.h index fc9a0fbc..f062be08 100644 --- a/launcher/ui/dialogs/ProgressDialog.h +++ b/launcher/ui/dialogs/ProgressDialog.h @@ -62,7 +62,7 @@ public: explicit ProgressDialog(QWidget *parent = 0); ~ProgressDialog(); - void updateSize(); + void updateSize(bool recenterParent = false); int execWithTask(Task* task); int execWithTask(std::unique_ptr<Task> &&task); |