fix: ensure all connections to the ProgressDialogs's Task the dialog made are dissconnected

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2024-10-14 00:32:12 -07:00
parent f239f4c17c
commit a108b5b420
2 changed files with 14 additions and 9 deletions

View File

@ -93,6 +93,8 @@ class ProgressDialog : public QDialog {
Ui::ProgressDialog* ui;
Task* m_task;
QList<QMetaObject::Connection> m_taskConnections;
bool m_is_multi_step = false;
QHash<QUuid, SubTaskProgressBar*> taskProgress;