Commit 70c71280 authored by Simon Redman's avatar Simon Redman
Browse files

[SMS App] Use helper rather than hard-coding MessageTypeSent in the code

parent 60bf2007
Pipeline #21741 passed with stage
in 5 minutes and 38 seconds
......@@ -139,7 +139,7 @@ void ConversationModel::createRowFromMessage(const ConversationMessage& message,
auto item = new QStandardItem;
item->setData(message.type() == ConversationMessage::MessageTypeSent, FromMeRole);
item->setData(message.isOutgoing(), FromMeRole);
item->setData(, DateRole);
item->setData(senderName, SenderRole);
insertRow(pos, item);
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