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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user