mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
Fixed deprecated qAsConst() to std::as_const()
This commit is contained in:
@@ -2077,7 +2077,7 @@ void QETProject::updateDiagramsFolioData()
|
||||
}
|
||||
}
|
||||
|
||||
for (const auto &diagram_ : qAsConst(m_diagrams_list)) {
|
||||
for (const auto &diagram_ : std::as_const(m_diagrams_list)) {
|
||||
diagram_->update();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user