Reduce compiler warnings: replace qAsConst with std::as_const and update event localPos() to position()

Replaced deprecated qAsConst usages in built modules and updated QMouseEvent::localPos() to position() per Qt6 deprecation guidance.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torsten committed 2026-07-14 22:44:14 +02:00
1 parent 46e673f660
commit 8af436f09a
281 files changed
+7102 -5490

No files matched your search

+1 -1
View File
@@ -184,7 +184,7 @@ void TcpServer::workerFinished()
void TcpServer::shutdownRequest()
{
emit aboutToQuit(d->port);
for (WorkerBase *worker : qAsConst(d->workers))
for (WorkerBase *worker : std::as_const(d->workers))
{
WorkerInstance *wi = dynamic_cast<WorkerInstance *>(worker);
if (wi)