Skip to content

Conversation

@martonmiklos
Copy link
Contributor

@martonmiklos martonmiklos commented Feb 8, 2026

Use QDateTime::currentSecsSinceEpoch instead of QDateTime::currentDateTime().toSecsSinceEpoch()

Recommended by clazy checks

summon @etherealjoy


Summary by cubic

Replaced QDateTime::currentDateTime().toSecsSinceEpoch() with QDateTime::currentSecsSinceEpoch() in the Qt HTTP request code (generator template and petstore samples). This avoids unnecessary object creation per clazy and updates the RNG seed and multipart boundary to use epoch seconds.

Written for commit ae03b46. Summary will update on new commits.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@wing328
Copy link
Member

wing328 commented Feb 9, 2026

circleci failure not related to this change

@wing328
Copy link
Member

wing328 commented Feb 9, 2026

if no further feedback on this change, i'll merge it tomorrow or Wed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants