Skip to content

chore: fix compilation warnings#90

Merged
xionglinlin merged 1 commit into
linuxdeepin:masterfrom
xionglinlin:master
May 28, 2025
Merged

chore: fix compilation warnings#90
xionglinlin merged 1 commit into
linuxdeepin:masterfrom
xionglinlin:master

Conversation

@xionglinlin

Copy link
Copy Markdown
Contributor
  1. Added error handling for translation file loading in both main.cpp files
  2. Removed redundant Qt::AA_UseHighDpiPixmaps attribute setting
  3. Replaced DHiDPIHelper::loadNxPixmap with DIcon::loadNxPixmap for better compatibility

chore: 修复编译警告

  1. 在两个 main.cpp 文件中添加了翻译文件加载的错误处理
  2. 移除了冗余的 Qt::AA_UseHighDpiPixmaps 属性设置
  3. 使用 DIcon::loadNxPixmap 替代 DHiDPIHelper::loadNxPixmap 以获得更好的 兼容性

1. Added error handling for translation file loading in both main.cpp
files
2. Removed redundant Qt::AA_UseHighDpiPixmaps attribute setting
3. Replaced DHiDPIHelper::loadNxPixmap with DIcon::loadNxPixmap for
better compatibility

chore: 修复编译警告

1. 在两个 main.cpp 文件中添加了翻译文件加载的错误处理
2. 移除了冗余的 Qt::AA_UseHighDpiPixmaps 属性设置
3. 使用 DIcon::loadNxPixmap 替代 DHiDPIHelper::loadNxPixmap 以获得更好的
兼容性
@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mhduiy, xionglinlin

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@xionglinlin xionglinlin merged commit 837ed00 into linuxdeepin:master May 28, 2025
6 of 7 checks passed
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.

3 participants