Treat Oculus and Steam plugins as display plugins, for disabling purposes

This commit is contained in:
Dale Glass 2023-11-12 18:44:00 +01:00
parent 0bd72f3d54
commit ec29cfcd51

View file

@ -77,7 +77,8 @@ bool isDisabled(QJsonObject metaData) {
auto name = getPluginNameFromMetaData(metaData);
auto iid = getPluginIIDFromMetaData(metaData);
if (iid == DisplayProvider_iid) {
qDebug() << "Name = " << name << "; iid =" << iid;
if (iid == DisplayProvider_iid || iid == SteamClientProvider_iid || iid == OculusPlatformProvider_iid) {
return disabledDisplays.contains(name);
} else if (iid == InputProvider_iid) {
return disabledInputs.contains(name);