chore: use another QTranslator::load overload to tidy code#318
Merged
deepin-bot[bot] merged 1 commit intolinuxdeepin:masterfrom Jun 4, 2025
Merged
chore: use another QTranslator::load overload to tidy code#318deepin-bot[bot] merged 1 commit intolinuxdeepin:masterfrom
deepin-bot[bot] merged 1 commit intolinuxdeepin:masterfrom
Conversation
deepin-ci-robot
added a commit
to linuxdeepin/dtk6gui
that referenced
this pull request
Jun 4, 2025
Synchronize source files from linuxdeepin/dtkgui. Source-pull-request: linuxdeepin/dtkgui#318
Contributor
|
Note
详情{
"src/kernel/dguiapplicationhelper.cpp": [
{
"line": " QString socket_key = \"_d_dtk_single_instance_\";",
"line_number": 1468,
"rule": "S106",
"reason": "Var naming | 2ad926d35b"
}
]
} |
deepin-ci-robot
added a commit
to linuxdeepin/dtk6gui
that referenced
this pull request
Jun 4, 2025
Synchronize source files from linuxdeepin/dtkgui. Source-pull-request: linuxdeepin/dtkgui#318
Contributor
|
Note
详情{
"src/kernel/dguiapplicationhelper.cpp": [
{
"line": " QString socket_key = \"_d_dtk_single_instance_\";",
"line_number": 1468,
"rule": "S106",
"reason": "Var naming | 2ad926d35b"
}
]
} |
deepin-ci-robot
added a commit
to linuxdeepin/dtk6gui
that referenced
this pull request
Jun 4, 2025
Synchronize source files from linuxdeepin/dtkgui. Source-pull-request: linuxdeepin/dtkgui#318
Contributor
|
Note
详情{
"src/kernel/dguiapplicationhelper.cpp": [
{
"line": " QString socket_key = \"_d_dtk_single_instance_\";",
"line_number": 1468,
"rule": "S106",
"reason": "Var naming | 2ad926d35b"
}
]
} |
deepin-ci-robot
added a commit
to linuxdeepin/dtk6gui
that referenced
this pull request
Jun 4, 2025
Synchronize source files from linuxdeepin/dtkgui. Source-pull-request: linuxdeepin/dtkgui#318
Contributor
|
Note
详情{
"src/kernel/dguiapplicationhelper.cpp": [
{
"line": " QString socket_key = \"_d_dtk_single_instance_\";",
"line_number": 1468,
"rule": "S106",
"reason": "Var naming | 2ad926d35b"
}
]
} |
18202781743
reviewed
Jun 4, 2025
使用另一个 QTranslator::load 重载来使代码更简洁,并潜在的支持 QLocale::uiLanguages(). 并且添加了一个额外的接口来方便其他项目更方便的调用. Log:
deepin-ci-robot
added a commit
to linuxdeepin/dtk6gui
that referenced
this pull request
Jun 4, 2025
Synchronize source files from linuxdeepin/dtkgui. Source-pull-request: linuxdeepin/dtkgui#318
Contributor
deepin pr auto review代码审查意见:
综上所述,代码在性能、错误处理、可读性和资源管理方面存在一些改进空间,建议进行相应的优化和重构。 |
18202781743
approved these changes
Jun 4, 2025
Contributor
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 18202781743, BLumia The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Contributor
|
Note
详情{
"src/kernel/dguiapplicationhelper.cpp": [
{
"line": " QString socket_key = \"_d_dtk_single_instance_\";",
"line_number": 1468,
"rule": "S106",
"reason": "Var naming | 2ad926d35b"
}
]
} |
Contributor
|
/forcemerge |
Contributor
|
This pr force merged! (status: blocked) |
18202781743
pushed a commit
to linuxdeepin/dtk6gui
that referenced
this pull request
Jun 4, 2025
Synchronize source files from linuxdeepin/dtkgui. Source-pull-request: linuxdeepin/dtkgui#318
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
使用另一个
QTranslator::load()重载来使代码更简洁,并潜在的支持QLocale::uiLanguages().