fix: proper svg icon rendering on hidpi screen.

This commit is contained in:
Chris Xiong authored and Gary Wang committed 2022-09-29 19:06:51 +08:00
1 parent 756d0be32f
commit cc7d58d4ec
7 files changed
+46 -18

No files matched your search

+3
View File
@@ -20,6 +20,9 @@
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
a.setAttribute(Qt::ApplicationAttribute::AA_UseHighDpiPixmaps);
#endif
QTranslator translator;
QString qmDir;