Commit 76f9517f authored by Laurent Montel's avatar Laurent Montel 😁

Use isEmpty here

parent 7156e6da
......@@ -148,7 +148,7 @@ void MailList::populateMimeData(QMimeData *md)
Add them in this order */
/* Popuplate the MimeData with the custom streaming x-kmail-drag/message-list mime type */
if (count()) {
if (!isEmpty()) {
QByteArray array;
QBuffer buffer(&array, nullptr);;
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