Skip to content

Apply existing QScreen::name() workaround for Windows to new code

e5fb03b6 added a workaround for a Qt bug on Windows that makes QScreen::name() return garbage.

21e02655 added new un-worked-around usages of QScreen::name() which effectively re-introduces the bug that the old code was fixing on Windows.

This commit re-applies the workaround to the new code using a compiler macro.

BUG: 429943 FIXED-IN: 5.101

cc @mardelle @bartoloni @richardbizik

Merge request reports

Loading