Warning for null strings.

This commit is contained in:
Martin Rotter 2015-11-17 19:06:05 +01:00
parent 2649011ced
commit 1633150e67
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ QList<Message> ParsingFactory::parseAsATOM10(const QString &data) {
new_message.m_created = current_time;
}
// TODO: There is a difference between "" and QString() in terms of NULL SQL values!
// WARNING: 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()) {