Commit 37613b3e authored by Jan Möbius's avatar Jan Möbius

Fixed deprecation QWheelevent warning

parent a42734ca
......@@ -376,7 +376,7 @@ void MovePlugin::slotMouseWheelEvent(QWheelEvent * _event, const std::string & /
return;
// compute the manipulator size modifier based on the mouse wheel change
manip_size_modifier_ = manip_size_modifier_ - (float)_event->delta() / 120.0 * 0.1;
manip_size_modifier_ = manip_size_modifier_ - (float)_event->angleDelta().y() / 120.0 * 0.1;
//dont scroll into negative sizes
if (manip_size_modifier_ < 0.0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment