fix -Wextra in FreeCADGui
This commit is contained in:
@@ -42,6 +42,7 @@ SO_EVENT_SOURCE(SoGesturePanEvent);
|
||||
|
||||
SoGesturePanEvent::SoGesturePanEvent(QPanGesture* qpan, QWidget *widget)
|
||||
{
|
||||
Q_UNUSED(widget);
|
||||
totalOffset = SbVec2f(qpan->offset().x(), -qpan->offset().y());
|
||||
deltaOffset = SbVec2f(qpan->delta().x(), -qpan->delta().y());
|
||||
state = SbGestureState(qpan->state());
|
||||
@@ -107,6 +108,7 @@ SO_EVENT_SOURCE(SoGestureSwipeEvent);
|
||||
|
||||
SoGestureSwipeEvent::SoGestureSwipeEvent(QSwipeGesture *qwsipe, QWidget *widget)
|
||||
{
|
||||
Q_UNUSED(widget);
|
||||
angle = qwsipe->swipeAngle();
|
||||
switch (qwsipe->verticalDirection()){
|
||||
case QSwipeGesture::Up :
|
||||
|
||||
Reference in New Issue
Block a user