2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 01:32:12 +00:00

Fix a couple of warnings that break automated tests

[SVN r33590]
This commit is contained in:
Vladimir Prus
2006-04-07 11:37:20 +00:00
parent 24e1a811af
commit c2478e7567

View File

@@ -55,7 +55,6 @@ Arrow_widget::draw_arrow(int x1, int y1, int x2, int y2, QPainter& painter)
}
double straight_angle = angle*180/M_PI;
double max_delta = 30;
double limit = 10;
double angle_to_vertical;
@@ -87,9 +86,9 @@ Arrow_widget::draw_arrow(int x1, int y1, int x2, int y2, QPainter& painter)
m2.translate(x2, y2);
m2.rotate(-end_angle);
arrow.cubicTo(m1.map(QPoint(straight_length/2, 0)),
m2.map(QPoint(straight_length/2, 0)),
m2.map(QPoint(arrowhead_length, 0)));
arrow.cubicTo(m1.map(QPointF(straight_length/2, 0)),
m2.map(QPointF(straight_length/2, 0)),
m2.map(QPointF(arrowhead_length, 0)));
painter.save();
painter.setBrush(Qt::NoBrush);