summarylogtreecommitdiffstats
path: root/deviceinfo.patch
blob: 7cc11cafe5fb34e840296be032ad6db3c898dc9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/backend/flipperzero/deviceinfo.h
+++ b/backend/flipperzero/deviceinfo.h
@@ -31,6 +31,7 @@
 
     // Needed in order to work with QVariant
     bool operator !=(const HardwareInfo &other) const { Q_UNUSED(other) return true; }
+    bool operator ==(const HardwareInfo &other) const { Q_UNUSED(other) return false; }
 };
 
 struct SoftwareInfo {
@@ -50,6 +51,7 @@
 
     // Needed in order to work with QVariant
     bool operator !=(const SoftwareInfo &other) const { Q_UNUSED(other) return true; }
+    bool operator ==(const SoftwareInfo &other) const { Q_UNUSED(other) return false; }
 };
 
 struct StorageInfo {
@@ -67,6 +69,7 @@
 
     // Needed in order to work with QVariant
     bool operator !=(const StorageInfo &other) const { Q_UNUSED(other) return true; }
+    bool operator ==(const StorageInfo &other) const { Q_UNUSED(other) return false; }
 };
 
 struct ProtobufInfo {