added icon for currently selected identity

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7534 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-09-14 16:28:02 +00:00
parent cf1b3e1be8
commit f3aeaea526

View File

@ -25,6 +25,7 @@
#include <QMenu>
#include "IdDialog.h"
#include "gui/gxs/GxsIdDetails.h"
#include "gui/gxs/GxsIdTreeWidgetItem.h"
#include "gui/common/UIStateHelper.h"
#include "gui/chat/ChatDialog.h"
@ -476,6 +477,10 @@ void IdDialog::insertIdDetails(uint32_t token)
ui.headerFrame->setHeaderText(QString::fromUtf8(data.mMeta.mGroupName.c_str()));
QPixmap pix = QPixmap::fromImage(GxsIdDetails::makeDefaultIcon(RsGxsId(data.mMeta.mGroupId))) ;
std::cerr << "Setting header frame image : " << pix.width() << " x " << pix.height() << std::endl;
ui.headerFrame->setHeaderImage(pix);
if (data.mPgpKnown)
{
RsPeerDetails details;