[qet] qet/qet: [4964] Revert |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4964
Author: scorpio810
Date: 2017-05-18 03:31:27 +0200 (Thu, 18 May 2017)
Log Message:
-----------
Revert
Modified Paths:
--------------
trunk/sources/main.cpp
Modified: trunk/sources/main.cpp
===================================================================
--- trunk/sources/main.cpp 2017-05-18 01:02:43 UTC (rev 4963)
+++ trunk/sources/main.cpp 2017-05-18 01:31:27 UTC (rev 4964)
@@ -31,10 +31,8 @@
QCoreApplication::setOrganizationDomain("qelectrotech.org");
QCoreApplication::setApplicationName("QElectroTech");
//Creation and execution of the application
-#if QT_VERSION >= QT_VERSION_CHECK(5,6,0)
- QApplication::setAttribute(Qt::AA_DisableHighDpiScaling);
-#else
- qputenv("QT_DEVICE_PIXEL_RATIO", QByteArray("1"));
-#endif // QT_VERSION
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
+QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+#endif
return(QETApp(argc, argv).exec());
}