New comment for parsing.
This commit is contained in:
parent
0a05c493ad
commit
df75619a6d
1 changed files with 2 additions and 0 deletions
|
@ -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!
|
// 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()) {
|
if (new_message.m_author.isNull()) {
|
||||||
new_message.m_author = "";
|
new_message.m_author = "";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue