Fixed deprecated qAsConst() to std::as_const()

This commit is contained in:
Magnus Hellströmer
2024-09-09 02:03:37 +02:00
parent 4827b23116
commit 25f9f14b04
18 changed files with 47 additions and 47 deletions

View File

@@ -203,7 +203,7 @@ void TerminalStripDrawer::paint(QPainter *painter)
painter->restore();
//Draw the bridges
for (const auto &points_ : qAsConst(bridges_anchor_points))
for (const auto &points_ : std::as_const(bridges_anchor_points))
{
painter->save();
auto pen_{painter->pen()};