Remove ifdefs for fractional scaling support (Qt 5.6+).
Motivation and Context
Among the systems we officially support, the oldest Qt version is Qt 5.9 on Ubuntu 18.04. Fractional scaling is supported in Qt 5.6 and newer. We should be able to safely remove these ifdefs and simplify the code.
@WizardCM Wanted me to check what Qt versions FreeBSD and Arch currently offer, and they both offer Qt 5.15.2. Xenial (Ubuntu 16.04) still has Qt 5.5, but we no longer officially support that platform, and its End of Standard Support is April 2021, so I don't think we need to worry about it.
How Has This Been Tested?
Compiled and ran OBS and obs-browser on Windows 10 64-bit with these changes. I verified that browser docks behave the same in OBS Studio 26.1.1 and after this patch.
Types of changes
Code cleanup (non-breaking change which makes code smaller or more readable)
Description
Remove ifdefs for fractional scaling support (Qt 5.6+).
Motivation and Context
Among the systems we officially support, the oldest Qt version is Qt 5.9 on Ubuntu 18.04. Fractional scaling is supported in Qt 5.6 and newer. We should be able to safely remove these ifdefs and simplify the code.
@WizardCM Wanted me to check what Qt versions FreeBSD and Arch currently offer, and they both offer Qt 5.15.2. Xenial (Ubuntu 16.04) still has Qt 5.5, but we no longer officially support that platform, and its End of Standard Support is April 2021, so I don't think we need to worry about it.
How Has This Been Tested?
Compiled and ran OBS and obs-browser on Windows 10 64-bit with these changes. I verified that browser docks behave the same in OBS Studio 26.1.1 and after this patch.
Types of changes
Checklist: