Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Update CTK to fix Qt designer crash at startup
One of the DICOM widgets crashed the Qt designer because `ctkDICOMScheduler::~ctkDICOMScheduler()` called `ctkJobScheduler::waitForDone`, and that method called `processEvents()`. After returning from `processEvents()` the application crashed because the "this" pointer has become invalid (probably the `ctkDICOMScheduler` object got deleted). Solved the issue by removing `processEvents()` from `ctkJobScheduler::waitForDone`, and instead calling `processEvents()` before calling `ctkJobScheduler::waitForDone`. List of CTK changes: ``` $ git shortlog 4aba4e203..51c9f4a5a --no-merges Andras Lasso (1): BUG: Fix Qt designer crash at startup ``` Co-authored-by: Andras Lasso <lasso@queensu.ca>
- Loading branch information