UI: Disable QT's implicit colourspace conversion on macOS

Fixes issues as described in https://bugreports.qt.io/browse/QTBUG-47660
and halves CPU usage of OBS' UI by about 40-50%.
This commit is contained in:
PatTheMav 2020-10-01 18:45:13 +02:00 • committed by Jim
commit cab32e7e67
3 changed files with 12 additions and 0 deletions

View file

@ -1867,6 +1867,10 @@ void OBSBasic::OBSInit()
SystemTray(true);
#endif
#ifdef __APPLE__
disableColorSpaceConversion(this);
#endif
bool has_last_version = config_has_user_value(App()->GlobalConfig(),
"General", "LastVersion");
bool first_run =