mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-30 17:15:01 +01:00
Warning for null strings.
This commit is contained in:
parent
2649011ced
commit
1633150e67
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user