mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
Proposed fix for some progressbar related crashes
This commit is contained in:
parent
0d4e4508dc
commit
c84b7ab6d9
@ -170,6 +170,8 @@ namespace caf {
|
||||
progDialog = new QProgressDialog();
|
||||
|
||||
progDialog->hide();
|
||||
progDialog->setAutoClose(false);
|
||||
progDialog->setAutoReset(false);
|
||||
}
|
||||
return progDialog;
|
||||
}
|
||||
@ -420,7 +422,6 @@ namespace caf {
|
||||
if (progressDialog() != NULL)
|
||||
{
|
||||
progressDialog()->hide();
|
||||
delete progressDialog();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user