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

@@ -85,7 +85,7 @@ QDomElement TerminalStripBridge::toXml(QDomDocument &parent_document) const
root_elmt.setAttribute(QStringLiteral("color"), m_color.name());
auto terminals_elmt = parent_document.createElement(QStringLiteral("real_terminals"));
for (const auto &real_t : qAsConst(m_real_terminals))
for (const auto &real_t : std::as_const(m_real_terminals))
{
if (real_t)
{