-
Notifications
You must be signed in to change notification settings - Fork 48
fix: Abnormal issue with modifying network icons #341
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
Conversation
Abnormal issue with modifying network icons pms: BUG-315507
deepin pr auto review关键摘要:
是否建议立即修改:
|
Reviewer's GuideThe pull request addresses an issue with network icon modification by adjusting the drawing logic in the Updated Class Diagram for NetIconButtonclassDiagram
class NetIconButton {
+paintEvent(QPaintEvent *e) void
%% Other members and methods not shown for brevity %%
}
note for NetIconButton "paintEvent() method updated:\nLogic for fillRect changed when m_textType is true.\n- pa.fillRect(r, ...) changed to pa.fillRect(pm.rect(), ...)\nto fix icon rendering with text."
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @caixr23 - I've reviewed your changes - here's some feedback:
- Now that
m_textTypeconsistently results in a full icon color overlay, consider if its name optimally conveys this specific visual effect.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: caixr23, mhduiy 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 |
Abnormal issue with modifying network icons
pms: BUG-315507
Summary by Sourcery
Bug Fixes: