summaryrefslogtreecommitdiffstats
path: root/qt/qdbusintrospection.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt/qdbusintrospection.h')
-rw-r--r--qt/qdbusintrospection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/qdbusintrospection.h b/qt/qdbusintrospection.h
index 4e1a8745..86f85244 100644
--- a/qt/qdbusintrospection.h
+++ b/qt/qdbusintrospection.h
@@ -113,7 +113,7 @@ public:
Properties properties;
inline bool operator==(const Interface &other) const
- { return name == other.name; }
+ { return !name.isEmpty() && name == other.name; }
};
struct Object: public QSharedData