summaryrefslogtreecommitdiff
path: root/src/containers/kolabconfiguration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/kolabconfiguration.h')
-rw-r--r--src/containers/kolabconfiguration.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/containers/kolabconfiguration.h b/src/containers/kolabconfiguration.h
index c011131..e3601cf 100644
--- a/src/containers/kolabconfiguration.h
+++ b/src/containers/kolabconfiguration.h
@@ -110,8 +110,8 @@ private:
};
struct Relation {
- Relation(){}
- Relation(const std::string &name, const std::string &type): mName(name), mType(type) {}
+ Relation(): mPriority(-1) {}
+ Relation(const std::string &name, const std::string &type): mName(name), mType(type), mPriority(-1) {}
bool operator==(const Relation &other) const {
return mName == other.mName &&
@@ -119,6 +119,7 @@ struct Relation {
mColor == other.mColor &&
mIconName == other.mIconName &&
mParent == other.mParent &&
+ mPriority == other.mPriority &&
mMembers == other.mMembers;
}