chore: fixe some codeql warnings

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2025-06-05 00:34:45 +03:00
parent 0136c2e82a
commit 4f5db2e49f
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
11 changed files with 14 additions and 11 deletions

View file

@ -41,7 +41,7 @@
#include <QUuid>
namespace {
void tokenToJSONV3(QJsonObject& parent, Token t, const char* tokenName)
void tokenToJSONV3(QJsonObject& parent, const Token& t, const char* tokenName)
{
if (!t.persistent) {
return;