Commit 55cfef98 authored by Sylvain Thery's avatar Sylvain Thery

qt syntax error

parent cdfff0a1
......@@ -261,7 +261,7 @@ void Surface_Selection_Plugin::keyPress(View* view, QKeyEvent* event)
// generate a false mouse move to update drawing on shift keypressed !
QPoint p = m_schnapps->getSelectedView()->mapFromGlobal(QCursor::pos());
QMouseEvent me = QMouseEvent(QEvent::MouseMove, QPointF(p), Qt::NoButton, Qt::NoButton, Qt::ShiftModifier);
QMouseEvent me = QMouseEvent(QEvent::MouseMove, p, Qt::NoButton, Qt::NoButton, Qt::ShiftModifier);
mouseMove(view, &me);
view->updateGL();
......
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