Commit 8b5222ae authored by Laurent Montel's avatar Laurent Montel 😁

USe isEmpty()

parent d0d4f663
...@@ -328,7 +328,7 @@ QByteArray Content::decodedContent() ...@@ -328,7 +328,7 @@ QByteArray Content::decodedContent()
Headers::ContentTransferEncoding *ec = contentTransferEncoding(); Headers::ContentTransferEncoding *ec = contentTransferEncoding();
bool removeTrailingNewline = false; bool removeTrailingNewline = false;
if (d_ptr->body.length() == 0) { if (d_ptr->body.isEmpty()) {
return ret; return ret;
} }
......
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