From df75619a6dc34b7182ea5028ac904b7136697e83 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Fri, 1 May 2015 07:44:45 +0200 Subject: [PATCH] New comment for parsing. --- src/core/parsingfactory.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/parsingfactory.cpp b/src/core/parsingfactory.cpp index cd506ab14..e9b0ca3ae 100755 --- a/src/core/parsingfactory.cpp +++ b/src/core/parsingfactory.cpp @@ -100,6 +100,8 @@ QList 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 = ""; }