mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-09 16:09:59 +02:00
Fixed deprecated qAsConst() to std::as_const()
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user