profile: add account decoration role

Put to use the other decoration roles in the ui for Persons, Call
and Accounts

Tuleap: #530
Change-Id: I04f75d346c9ba9f9b92a5038faa4aa97a70eb45c
diff --git a/src/HistoryVC.mm b/src/HistoryVC.mm
index 40aa290..5fae480 100644
--- a/src/HistoryVC.mm
+++ b/src/HistoryVC.mm
@@ -176,8 +176,7 @@
         auto call = qvariant_cast<Call*>(qIdx.data((int)Call::Role::Object));
 
         NSImageView* photoView = [result viewWithTag:PHOTO_TAG];
-        QVariant photo = GlobalInstances::pixmapManipulator().callPhoto(call, QSize(50,50));
-        [photoView setImage:QtMac::toNSImage(qvariant_cast<QPixmap>(photo))];
+        [photoView setImage:QtMac::toNSImage(qvariant_cast<QPixmap>(qIdx.data(Qt::DecorationRole)))];
 
         NSTextField* details = [result viewWithTag:DETAILS_TAG];
         [details setStringValue:qIdx.data((int)Call::Role::FormattedDate).toString().toNSString()];