Fix DPI scaling of pixmaps

This commit is contained in:
BigBahss 2021-02-08 23:13:34 -05:00 committed by huderlem
parent 6f394ce39c
commit a7f12f1993

View file

@ -3,6 +3,7 @@
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::Round);
QApplication a(argc, argv); QApplication a(argc, argv);
a.setStyle("fusion"); a.setStyle("fusion");
MainWindow w(nullptr); MainWindow w(nullptr);