HomePhabricator
Diffusion MITK 704ee9b24998

Propper disconnection of tracking device.

Description

Propper disconnection of tracking device.

Set TrackingDeviceSource = nullptr at the end of disconnect.
The nullptr fixes the issue with connect/discon/connect -> crash.

Also, remove m_TrackingDeviceSource from Toolboxview. This variable
should only be handed by the worker class (threads...).

For Polhemus, Disconnect-signal is send to hardware.

Also... replace tab with spaces. Code style.

Details

Provenance
wildesAuthored on Sep 7 2017, 4:25 PM
wildesPushed on Sep 7 2017, 4:25 PM
Parents
rMITKb08a6903286b: Separated QmitkMITKIGTTrackingToolboxView and…
Branches
Unknown
Tags
Unknown