Refactor: replace qAsConst with std::as_const across TetraIF; reduce compiler deprecation warnings

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torstenandCopilot committed 2026-07-14 22:48:58 +02:00
1 parent dfdc6e299d
commit 3904b43cf8
10 files changed
+15 -15

No files matched your search

+2 -2
View File
@@ -357,7 +357,7 @@ void TetraIF::onSendData()
static char s_randomChar = 0;
for (int i = 0; i < telegramsToSendNow; ++i)
{
for (unsigned short dest_issi : qAsConst(m_issiList))
for (unsigned short dest_issi : std::as_const(m_issiList))
{
m_data[0] = s_randomChar++;
@@ -406,7 +406,7 @@ void TetraIF::parseISSIs(const QStringList &issiList)
QString TetraIF::getIssisAsString() const
{
QString ret;
for (unsigned short issi : qAsConst(m_issiList))
for (unsigned short issi : std::as_const(m_issiList))
ret += QString::number(issi) + QLatin1String(", ");
return ret.left(ret.size() - 2);
}