mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Qt 5.14 hi-res adjustments, as HI-DPI screen handling has changed
* see // https://lists.qt-project.org/pipermail/development/2019-September/037434.html * qss adjustemnts * larger default sizes for core/launcher/client for 1920x1080 screens
This commit is contained in:
committed by
Mat Sutcliffe
parent
2a3fd0e94c
commit
8eaa4f7f15
@@ -328,9 +328,11 @@ namespace BlackGui
|
||||
|
||||
void CGuiApplication::highDpiScreenSupport(double scaleFactor)
|
||||
{
|
||||
// https://lists.qt-project.org/pipermail/development/2019-September/037434.html
|
||||
if (scaleFactor < 0)
|
||||
{
|
||||
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
|
||||
// qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1"); // until 5.14
|
||||
qputenv("QT_ENABLE_HIGHDPI_SCALING", "1");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user