Proposed fix for some progressbar related crashes

This commit is contained in:
Jacob Støren 2016-09-28 12:14:41 +02:00
parent 0d4e4508dc
commit c84b7ab6d9

View File

@ -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();
}
}