summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2014-12-09 10:56:06 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2014-12-09 10:56:06 (GMT)
commit23a0111c45e9f441c5e27ef9bf5b83c47fde98f5 (patch)
tree0682fd539fc4c77224fd02d1c18a8cd9cdce651e
parenta6e0c4d7c33e7fa6bb7a1734bb893e05a8fe528d (diff)
downloadlibkolab-23a0111c45e9f441c5e27ef9bf5b83c47fde98f5.tar.gz
Fixed KolabObjectReader::isTag
There is no id set yet obviously.
-rw-r--r--kolabformat/kolabobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kolabformat/kolabobject.cpp b/kolabformat/kolabobject.cpp
index d6e5173..569a882 100644
--- a/kolabformat/kolabobject.cpp
+++ b/kolabformat/kolabobject.cpp
@@ -581,7 +581,7 @@ Freebusy KolabObjectReader::getFreebusy() const
#ifdef HAVE_TAG_H
bool KolabObjectReader::isTag() const
{
- return d->mTag.isValid();
+ return !d->mTag.gid().isEmpty();
}
Akonadi::Tag KolabObjectReader::getTag() const