hide unimplemented reputation functions in comment tree widget

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8223 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
electron128 2015-05-08 18:08:27 +00:00
parent f23b3447f9
commit 71ca750fc8

View File

@ -109,6 +109,8 @@ void GxsCommentTreeWidget::customPopUpMenu(const QPoint& /*point*/)
if (!mCurrentMsgId.isNull()) if (!mCurrentMsgId.isNull())
{ {
// not implemented yet
/*
contextMnu.addSeparator(); contextMnu.addSeparator();
QMenu *rep_menu = contextMnu.addMenu(tr("Reputation")); QMenu *rep_menu = contextMnu.addMenu(tr("Reputation"));
@ -120,6 +122,7 @@ void GxsCommentTreeWidget::customPopUpMenu(const QPoint& /*point*/)
action = rep_menu->addAction(QIcon(IMAGE_MESSAGE), tr("Mark Spammy"), this, SLOT(markSpammer())); action = rep_menu->addAction(QIcon(IMAGE_MESSAGE), tr("Mark Spammy"), this, SLOT(markSpammer()));
action = rep_menu->addAction(QIcon(IMAGE_MESSAGE), tr("Ban User"), this, SLOT(banUser())); action = rep_menu->addAction(QIcon(IMAGE_MESSAGE), tr("Ban User"), this, SLOT(banUser()));
*/
} }
contextMnu.exec(QCursor::pos()); contextMnu.exec(QCursor::pos());