Add support for hiding games

Fixes #255
This commit is contained in:
Cameron Gutman
2020-08-01 21:06:01 -07:00
parent 9385d62c89
commit 539bf0cb30
10 changed files with 239 additions and 47 deletions
+11 -1
View File
@@ -10,7 +10,16 @@ public:
bool operator==(const NvApp& other) const
{
return id == other.id;
return id == other.id &&
name == other.name &&
hdrSupported == other.hdrSupported &&
isAppCollectorGame == other.isAppCollectorGame &&
hidden == other.hidden;
}
bool operator!=(const NvApp& other) const
{
return !operator==(other);
}
bool isInitialized()
@@ -25,6 +34,7 @@ public:
QString name;
bool hdrSupported = false;
bool isAppCollectorGame = false;
bool hidden = false;
};
Q_DECLARE_METATYPE(NvApp)