Skip to content

Commit f877f4c

Browse files
Decodetalkersdeepin-bot[bot]
authored andcommitted
fix: icon is blurry when zoom is not 1x
set highdpi to true Log:
1 parent adc6f94 commit f877f4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dde-clipboard/main.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ int main(int argc, char *argv[])
2121
DGuiApplicationHelper::setAttribute(DGuiApplicationHelper::ColorCompositing, true);
2222

2323
DApplication *app = DApplication::globalApplication(argc, argv);
24+
DApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
2425

2526
app->setOrganizationName("deepin");
2627
app->setApplicationName("dde-clipboard");

0 commit comments

Comments
 (0)