summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/domain/mail.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/domain/mail.cpp b/common/domain/mail.cpp
index 1a877cb..810cd9a 100644
--- a/common/domain/mail.cpp
+++ b/common/domain/mail.cpp
@@ -45,6 +45,7 @@ static TypeIndex &getIndex()
45 index->addProperty<QByteArray>("senderName"); 45 index->addProperty<QByteArray>("senderName");
46 index->addProperty<QString>("subject"); 46 index->addProperty<QString>("subject");
47 index->addProperty<QDateTime>("date"); 47 index->addProperty<QDateTime>("date");
48 index->addProperty<QByteArray>("folder");
48 } 49 }
49 return *index; 50 return *index;
50} 51}
@@ -89,6 +90,6 @@ QSharedPointer<WritePropertyMapper<TypeImplementation<Mail>::BufferBuilder> > Ty
89 propertyMapper->addMapping<QDateTime>("date", &BufferBuilder::add_date); 90 propertyMapper->addMapping<QDateTime>("date", &BufferBuilder::add_date);
90 propertyMapper->addMapping<bool>("unread", &BufferBuilder::add_unread); 91 propertyMapper->addMapping<bool>("unread", &BufferBuilder::add_unread);
91 propertyMapper->addMapping<bool>("important", &BufferBuilder::add_important); 92 propertyMapper->addMapping<bool>("important", &BufferBuilder::add_important);
92 propertyMapper->addMapping<QString>("folder", &BufferBuilder::add_folder); 93 propertyMapper->addMapping<QByteArray>("folder", &BufferBuilder::add_folder);
93 return propertyMapper; 94 return propertyMapper;
94} 95}