summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2013-10-28 09:22:38 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2013-10-29 08:29:43 (GMT)
commit5562d0deff67330dc3c1e3d4b549c9f325784893 (patch)
tree5d2d9899be8c62debae060150f76357726ab95d3
parentc0d1980d6a411c32fb375fdc154878f1076008ff (diff)
downloadlibkolab-5562d0deff67330dc3c1e3d4b549c9f325784893.tar.gz
don't set the object type twice.
parseMimeMessage already sets the type.
-rw-r--r--kolabformat/kolabobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kolabformat/kolabobject.cpp b/kolabformat/kolabobject.cpp
index 9774633..9feffb6 100644
--- a/kolabformat/kolabobject.cpp
+++ b/kolabformat/kolabobject.cpp
@@ -101,7 +101,7 @@ KolabObjectReader::KolabObjectReader()
KolabObjectReader::KolabObjectReader(const KMime::Message::Ptr& msg)
: d( new KolabObjectReader::Private )
{
- d->mObjectType = parseMimeMessage(msg);
+ parseMimeMessage(msg);
}
KolabObjectReader::~KolabObjectReader()