Silenced compiler warning

This commit is contained in:
Martin Tůma 2023-10-10 23:04:39 +02:00
parent 038f4e7d64
commit 8cf73b5bb5

View File

@ -181,7 +181,7 @@ static QPainterPath textPath(const QPainterPath &path, qreal textWidth,
for (int i = 0; i < lines.size(); i++) { for (int i = 0; i < lines.size(); i++) {
const QPolygonF &pl = lines.at(i); const QPolygonF &pl = lines.at(i);
qreal angle, length = 0; qreal angle = 0, length = 0;
int last = 0; int last = 0;
for (int j = 1; j < pl.size(); j ++) { for (int j = 1; j < pl.size(); j ++) {