Fixed last of -Wcast-qual warnings
For vtkKCoreLayout, just alloc & copy the string. For vtkInteractorStyleUser, init to nullptr instead of empty string. It’s taking the char* owned by the vtkRenderWindowInteractor, which looks like it can be null anyway. Adjusted usage to be prepared for null. Also fixed some related indentation and comments.
Showing with 12 additions and 14 deletions