Skip to content

fix(ci): fix GUI tests crashing because of dangling pointers

Description

GUI tests, especially SightViewer one, seem to be crashing a lot lately. It is possible that this is because of the access of a dangling pointer when checking whether dialog windows are closed or not. These changes replace raw pointers with QPointer so that the validity of the pointers being used can be safely tested.

Closes #1051 (closed)

How to test it?

Check if GUI tests crash on the CI or not.

Merge request reports