From 8cf73b5bb5047a678eb306d165b46750f09a153a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Tue, 10 Oct 2023 23:04:39 +0200 Subject: [PATCH] Silenced compiler warning --- src/textpathitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textpathitem.cpp b/src/textpathitem.cpp index 0c27f20..5efc291 100644 --- a/src/textpathitem.cpp +++ b/src/textpathitem.cpp @@ -181,7 +181,7 @@ static QPainterPath textPath(const QPainterPath &path, qreal textWidth, for (int i = 0; i < lines.size(); i++) { const QPolygonF &pl = lines.at(i); - qreal angle, length = 0; + qreal angle = 0, length = 0; int last = 0; for (int j = 1; j < pl.size(); j ++) {