Skip to content
Snippets Groups Projects
Commit 60bb9782 authored by Emmanuel Lepage Vallée's avatar Emmanuel Lepage Vallée Committed by gerrit2
Browse files

bookmark: Fix roleData compatibility with history

So the display widget can be shared for both views

Refs #74204

Change-Id: I3bc5dca6d7658fefc8ac5ebc34c9e49aac850671
parent 8b8c40ee
Branches
Tags
No related merge requests found
...@@ -527,6 +527,8 @@ QVariant ContactMethod::roleData(int role) const ...@@ -527,6 +527,8 @@ QVariant ContactMethod::roleData(int role) const
if (category()) if (category())
cat = d_ptr->m_pCategory->icon(isTracked(), isPresent()); cat = d_ptr->m_pCategory->icon(isTracked(), isPresent());
break; break;
case static_cast<int>(Call::Role::LifeCycleState):
return QVariant::fromValue(Call::LifeCycleState::FINISHED);
} }
return cat; return cat;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment