Skip to content

Commit

Permalink
fix: 修复高分屏图标显示过大的问题
Browse files Browse the repository at this point in the history
   相册应用使用Qt::AA_UseHighDpiPixmaps属性

Log: 修复高分屏图标显示过大的问题
Issue: linuxdeepin/developer-center#4884
  • Loading branch information
starhcq committed Jul 5, 2023
1 parent 0d5fd0f commit 398e979
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ int main(int argc, char *argv[])
app->loadTranslator();
app->setApplicationLicense("GPLV3");
app->setApplicationVersion(DApplication::buildVersion(VERSION));
app->setAttribute(Qt::AA_UseHighDpiPixmaps);
app->setOrganizationName("deepin");
app->setApplicationName("deepin-album");
app->setApplicationDisplayName(QObject::tr("Album"));
Expand Down

0 comments on commit 398e979

Please sign in to comment.