make compile with -pedantic and use foreach in some places

This commit is contained in:
Mathias Panzenböck
2014-02-15 05:13:12 +01:00
parent 5ca0712af2
commit 80351f5504
8 changed files with 46 additions and 153 deletions

View File

@ -212,7 +212,7 @@ void JoySlider::mousePressEvent( QMouseEvent* e )
else if (throttle >= 0 && abs( xpt - pointFor( XZone, false )) < 5) result = DRAG_XZ;
else if (throttle >= 0 && abs( xpt - pointFor( DeadZone, false )) < 5) result = DRAG_DZ;
dragging = result;
};
}
void JoySlider::mouseReleaseEvent( QMouseEvent* )
{