Avoid container detachments

PR #23393.
This commit is contained in:
Chocobo1
2025-10-20 17:20:42 +08:00
committed by GitHub
parent 5f9918cad4
commit 9ce5463d9d
5 changed files with 5 additions and 5 deletions

View File

@@ -996,7 +996,7 @@ int Application::exec()
#endif // DISABLE_WEBUI
m_isProcessingParamsAllowed = true;
for (const QBtCommandLineParameters &params : m_paramsQueue)
for (const QBtCommandLineParameters &params : asConst(m_paramsQueue))
processParams(params);
m_paramsQueue.clear();
});