Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: replace QString(tr()) with tr() to simplify code #1603

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

Integral-Tech
Copy link
Contributor

@Integral-Tech Integral-Tech commented Nov 6, 2024

  • QObject::tr() returns QString, hence it is unnecessary to pass its return value to QString() constructor.

@ddennedy ddennedy added this to the v24.11 milestone Nov 6, 2024
@ddennedy ddennedy merged commit 108a482 into mltframework:master Nov 6, 2024
1 check passed
@Integral-Tech Integral-Tech deleted the tr-refactor branch November 6, 2024 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants