fix: clean up execWithTask in Progress Dialog

This prevents weird problems, such as dialogs being non-modal when they
should be!

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow committed 2022-07-17 11:33:44 -03:00
1 parent 79b0a16f7a
commit 58dc3e93d3
2 files changed
+15 -21

No files matched your search

-2
View File
@@ -108,10 +108,8 @@ void ModUpdateDialog::checkCandidates()
});
// Check for updates
// FIXME: SOMEHOW THIS IS NOT MODAL???????
ProgressDialog progress_dialog(m_parent);
progress_dialog.setSkipButton(true, tr("Abort"));
progress_dialog.setVisible(true);
progress_dialog.setWindowTitle(tr("Checking for updates..."));
auto ret = progress_dialog.execWithTask(&check_task);