aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src-qt5/core/libLumina/LuminaXDG.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/LuminaXDG.h b/src-qt5/core/libLumina/LuminaXDG.h
index 0397ce71..1720ebc5 100644
--- a/src-qt5/core/libLumina/LuminaXDG.h
+++ b/src-qt5/core/libLumina/LuminaXDG.h
@@ -68,6 +68,10 @@ public:
//Constructor/destructor
XDGDesktop(){}
~XDGDesktop(){}
+
+ friend bool operator==(const XDGDesktop lhs, const XDGDesktop rhs){
+ return lhs.filePath == rhs.filePath && lhs.lastRead == rhs.lastRead;
+ }
};
// ========================
bgstack15