mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-11 15:50:38 -04:00
added a few 128px icons
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6003b0d0d2
commit
b8434a649e
30 changed files with 34 additions and 47 deletions
|
@ -28,7 +28,6 @@
|
|||
#include "ui_IdDialog.h"
|
||||
#include "IdEditDialog.h"
|
||||
#include "gui/gxs/GxsIdDetails.h"
|
||||
#include "gui/gxs/GxsIdTreeWidgetItem.h"
|
||||
#include "gui/common/UIStateHelper.h"
|
||||
#include "gui/chat/ChatDialog.h"
|
||||
#include "gui/settings/rsharesettings.h"
|
||||
|
@ -928,46 +927,6 @@ void IdDialog::insertRepList(uint32_t token)
|
|||
{
|
||||
Q_UNUSED(token)
|
||||
mStateHelper->setLoading(IDDIALOG_REPLIST, false);
|
||||
#if 0
|
||||
|
||||
std::vector<RsGxsIdOpinion> opinions;
|
||||
std::vector<RsGxsIdOpinion>::iterator vit;
|
||||
if (!rsIdentity->getMsgData(token, opinions))
|
||||
{
|
||||
#ifdef ID_DEBUG
|
||||
std::cerr << "IdDialog::insertRepList() Error getting Opinions";
|
||||
std::cerr << std::endl;
|
||||
#endif
|
||||
|
||||
mStateHelper->setActive(IDDIALOG_REPLIST, false);
|
||||
mStateHelper->clear(IDDIALOG_REPLIST);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
for(vit = opinions.begin(); vit != opinions.end(); ++vit)
|
||||
{
|
||||
RsGxsIdOpinion &op = (*vit);
|
||||
GxsIdTreeWidgetItem *item = new GxsIdTreeWidgetItem();
|
||||
|
||||
/* insert 4 columns */
|
||||
|
||||
/* friend name */
|
||||
item->setId(op.mMeta.mAuthorId, RSIDREP_COL_NAME);
|
||||
|
||||
/* score */
|
||||
item->setText(RSIDREP_COL_OPINION, QString::number(op.getOpinion()));
|
||||
|
||||
/* comment */
|
||||
item->setText(RSIDREP_COL_COMMENT, QString::fromUtf8(op.mComment.c_str()));
|
||||
|
||||
/* local reputation */
|
||||
item->setText(RSIDREP_COL_REPUTATION, QString::number(op.getReputation()));
|
||||
|
||||
ui->treeWidget_RepList->addTopLevelItem(item);
|
||||
}
|
||||
#endif
|
||||
|
||||
mStateHelper->setActive(IDDIALOG_REPLIST, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue