fix(progress dialog): if there is a parent center on creation

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2023-07-08 02:28:37 -07:00
parent 3211b265d7
commit 20c781b23b
2 changed files with 16 additions and 9 deletions

View File

@ -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);