Fix DPI scaling of pixmaps
This commit is contained in:
parent
6f394ce39c
commit
a7f12f1993
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue