fixes filetring output crash by using a QPointer to manage validity of the viewWidget pointer in medVtkView.