mirror of
https://github.com/lubosz/overte.git
synced 2025-04-06 21:22:44 +02:00
Treat Oculus and Steam plugins as display plugins, for disabling purposes
This commit is contained in:
parent
0bd72f3d54
commit
ec29cfcd51
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue