forked from mirror/openmw-tes3mp
Do not call base class event functions in WorldspaceWidget
This avoids some event function being triggered twice. I do not fully understand why calling the base class function causes this problem, which is more than a bit disconcerting, but let's roll with it for now.
This commit is contained in:
parent
6c65081643
commit
f3ee3f5be1
1 changed files with 0 additions and 7 deletions
|
@ -555,8 +555,6 @@ void CSVRender::WorldspaceWidget::mouseMoveEvent (QMouseEvent *event)
|
|||
|
||||
editMode.drag (diffX, diffY, factor);
|
||||
}
|
||||
|
||||
RenderWidget::mouseMoveEvent(event);
|
||||
}
|
||||
|
||||
void CSVRender::WorldspaceWidget::mousePressEvent (QMouseEvent *event)
|
||||
|
@ -598,8 +596,6 @@ void CSVRender::WorldspaceWidget::mouseReleaseEvent (QMouseEvent *event)
|
|||
}
|
||||
|
||||
mDragMode.clear();
|
||||
|
||||
RenderWidget::mouseReleaseEvent(event);
|
||||
}
|
||||
|
||||
void CSVRender::WorldspaceWidget::mouseDoubleClickEvent (QMouseEvent *event)
|
||||
|
@ -608,7 +604,6 @@ void CSVRender::WorldspaceWidget::mouseDoubleClickEvent (QMouseEvent *event)
|
|||
{
|
||||
//mMouse->mouseDoubleClickEvent(event);
|
||||
}
|
||||
//SceneWidget::mouseDoubleClickEvent(event);
|
||||
}
|
||||
|
||||
void CSVRender::WorldspaceWidget::wheelEvent (QWheelEvent *event)
|
||||
|
@ -624,8 +619,6 @@ void CSVRender::WorldspaceWidget::wheelEvent (QWheelEvent *event)
|
|||
|
||||
editMode.dragWheel (event->delta(), factor);
|
||||
}
|
||||
|
||||
RenderWidget::wheelEvent(event);
|
||||
}
|
||||
|
||||
void CSVRender::WorldspaceWidget::keyPressEvent (QKeyEvent *event)
|
||||
|
|
Loading…
Reference in a new issue