New comment for parsing.

This commit is contained in:
Martin Rotter 2015-05-01 07:44:45 +02:00
parent 0a05c493ad
commit df75619a6d
1 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,8 @@ QList<Message> ParsingFactory::parseAsATOM10(const QString &data) {
}
// TODO: There is a difference between "" and QString() in terms of NULL SQL values!
// This is because of difference in QString::isNull() and QString::isEmpty(), the "" is not null
// while QString() is.
if (new_message.m_author.isNull()) {
new_message.m_author = "";
}