Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:2024:games
chessx
chessx-Qt5-HiDPI-scaling-policy.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chessx-Qt5-HiDPI-scaling-policy.patch of Package chessx
Index: chessx-1.5.6+git.20211128.2fab7884/src/gui/main.cpp =================================================================== --- chessx-1.5.6+git.20211128.2fab7884.orig/src/gui/main.cpp +++ chessx-1.5.6+git.20211128.2fab7884/src/gui/main.cpp @@ -96,7 +96,10 @@ prevHook = _CrtSetReportHook(customRepor QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); // HiDPI support QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); // Windows Surface Book - +#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)) + QApplication::setHighDpiScaleFactorRoundingPolicy( + Qt::HighDpiScaleFactorRoundingPolicy::PassThrough); +#endif QApplication app(argc, argv); QDir dir(QApplication::applicationDirPath());
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor