Merge pull request #1329 from Ryex/fix/progress_dialog_centering

fix(progress dialog): if there is a parent center on creation
This commit is contained in:
seth
2023-07-08 07:50:13 -04:00
committed by Sefa Eyeoglu
parent a65e4af365
commit 1d4cf0fd03
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);