Change-Id: Id5e378f9a7836c048747d001235ce4410d4ca39b
Signed-off-by: Oleksander Kostenko <o.kostenko@samsung.com>
void ConvList::appendItem(const MsgConversationItem &item)
{
- const ThumbnailMaker::ThumbId &thumbId = item.getDirection() == Message::MD_Received ? m_RecipThumbId : -1;
+ static const ThumbnailMaker::ThumbId invalidId = -1;
+ const ThumbnailMaker::ThumbId &thumbId = item.getDirection() == Message::MD_Received ? m_RecipThumbId : invalidId;
appendItem(new ConvListItem(item, m_App, m_FileViewer, m_WorkingDir, m_SearchWord, thumbId));
}