diff --git a/GUISupport/Qt/QVTKInteractorAdapter.cxx b/GUISupport/Qt/QVTKInteractorAdapter.cxx index e73b7e23dfa82baa788b768cb04ec4f2e30533cb..5e609ee2c7f03cc8ba1ce8169f42e48ba6fc5de9 100644 --- a/GUISupport/Qt/QVTKInteractorAdapter.cxx +++ b/GUISupport/Qt/QVTKInteractorAdapter.cxx @@ -196,7 +196,6 @@ bool QVTKInteractorAdapter::ProcessEvent(QEvent* e, vtkRenderWindowInteractor* i break; } } - e2->accept(); return true; } diff --git a/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx b/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx index 1887d68763e6b3fb6654084174285b9e2f5612df..f2ab8a1d5356a33aebd91593eb16bfa6bf93ee2d 100644 --- a/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx +++ b/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx @@ -312,15 +312,9 @@ void QVTKOpenGLNativeWidget::cleanupContext() //------------------------------------------------------------------------------ bool QVTKOpenGLNativeWidget::event(QEvent* evt) { - bool EventProcessed = false; if (this->RenderWindowAdapter) { - EventProcessed = this->RenderWindowAdapter->handleEvent(evt); - } - - if (EventProcessed) - { - return true; + this->RenderWindowAdapter->handleEvent(evt); } return this->Superclass::event(evt); }