Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit e857ac00 authored by Martin Klapetek's avatar Martin Klapetek Committed by Alexander Akulich

[declarative] Return the last message without new-line-chars

parent e75a2f3f
......@@ -435,7 +435,7 @@ QString MessagesModel::lastMessage() const
return QString();
}
return data(index, MessagesModel::TextRole).toString();
return data(index, MessagesModel::TextRole).toString().simplified();
}
QDateTime MessagesModel::lastMessageDateTime() const
......
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