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

@@ -594,7 +594,7 @@ void QetShapeItem::addHandler()
{
m_handler_vector = QetGraphicsHandlerItem::handlerForPoint(mapToScene(points_vector), QETUtils::graphicsHandlerSize(this));
for(const auto handler : qAsConst(m_handler_vector))
for(const auto handler : std::as_const(m_handler_vector))
{
handler->setZValue(this->zValue()+1);
handler->setColor(Qt::blue);