mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-27 13:29:58 +01:00
Fix various typos in source documentation and comments (cont.)
Found via `codespell`
This commit is contained in:
committed by
Laurent Trinques
parent
a76e5446aa
commit
1994235bc5
@@ -606,7 +606,7 @@ QPainterPath PartLine::path() const
|
||||
|
||||
//debugPaint(painter);
|
||||
|
||||
//Determine if we must to draw extremity
|
||||
//Determine if we must draw extremity
|
||||
qreal reduced_line_length = line_length - (length1 * requiredLengthForEndType(first_end));
|
||||
bool draw_1st_end = first_end && reduced_line_length >= 0;
|
||||
|
||||
@@ -685,7 +685,7 @@ QPainterPath PartLine::path() const
|
||||
stop_point = four_points2[0];
|
||||
}
|
||||
|
||||
//Adjust the end point accordint to the pen width
|
||||
//Adjust the end point according to the pen width
|
||||
if (pen_width && (second_end == Qet::Simple || second_end == Qet::Circle))
|
||||
stop_point = QLineF(point1, stop_point).pointAt((line_length - (pen_width / 2.0)) / line_length);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user