Commit 85ac639e authored by Laurent Montel's avatar Laurent Montel 😁

Assign directly variable

parent 1626f4e4
......@@ -107,8 +107,7 @@ QString BilboPost::toString() const
{
// if(!title().isEmpty())
// qDebug("BilboPost::toString: title is %s", this->title());
QString ret;
ret = QStringLiteral("\n******* Post Info **********");
QString ret = QStringLiteral("\n******* Post Info **********");
ret += QLatin1String("\nID: ") + postId();
ret += QLatin1String("\nTitle: ") + title();
ret += QLatin1String("\nContent: ") + content();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment