Support Windows file/directory icon

Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
This commit is contained in:
Jackie Liu
2020-09-17 00:27:02 +08:00
parent 8c62f98a69
commit 90f9dffca5
4 changed files with 134 additions and 25 deletions

View File

@@ -51,6 +51,8 @@ int main(int argc, char *argv[])
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
}
#endif
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
SingleApplication a(argc, argv);