kopia lustrzana https://gitlab.com/eliggett/wfview
Enable High DPI Scaling
rodzic
47772a4925
commit
833371530a
2
main.cpp
2
main.cpp
|
@ -58,6 +58,7 @@ int main(int argc, char *argv[])
|
||||||
a.setOrganizationName("wfview");
|
a.setOrganizationName("wfview");
|
||||||
a.setOrganizationDomain("wfview.org");
|
a.setOrganizationDomain("wfview.org");
|
||||||
a.setApplicationName("wfview");
|
a.setApplicationName("wfview");
|
||||||
|
Qt::AA_EnableHighDpiScaling;
|
||||||
|
|
||||||
#ifdef QT_DEBUG
|
#ifdef QT_DEBUG
|
||||||
debugMode = true;
|
debugMode = true;
|
||||||
|
@ -177,7 +178,6 @@ int main(int argc, char *argv[])
|
||||||
#else
|
#else
|
||||||
a.setWheelScrollLines(1); // one line per wheel click
|
a.setWheelScrollLines(1); // one line per wheel click
|
||||||
wfmain w(serialPortCL, hostCL, settingsFile);
|
wfmain w(serialPortCL, hostCL, settingsFile);
|
||||||
|
|
||||||
w.show();
|
w.show();
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Ładowanie…
Reference in New Issue