UI: Remove fractional scaling ifdefs
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.
This commit is contained in:
parent
b496f43d45
commit
1fa45e63a3
4 changed files with 0 additions and 36 deletions
|
|
@ -1279,13 +1279,8 @@ bool OBSBasic::InitBasicConfigDefaults()
|
|||
uint32_t cx = primaryScreen->size().width();
|
||||
uint32_t cy = primaryScreen->size().height();
|
||||
|
||||
#ifdef SUPPORTS_FRACTIONAL_SCALING
|
||||
cx *= devicePixelRatioF();
|
||||
cy *= devicePixelRatioF();
|
||||
#elif
|
||||
cx *= devicePixelRatio();
|
||||
cy *= devicePixelRatio();
|
||||
#endif
|
||||
|
||||
bool oldResolutionDefaults = config_get_bool(
|
||||
App()->GlobalConfig(), "General", "Pre19Defaults");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue