Removed buttons to create a new identity

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7789 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-12-24 00:10:15 +00:00
parent 810a5cacc0
commit 417f66a566
20 changed files with 73 additions and 360 deletions

View file

@ -28,7 +28,6 @@
#include "PostedCreatePostDialog.h"
#include "PostedItem.h"
#include "gui/Identity/IdDialog.h"
#include "gui/common/UIStateHelper.h"
#include <retroshare/rsposted.h>
@ -63,8 +62,6 @@ PostedListWidget::PostedListWidget(const RsGxsGroupId &postedId, QWidget *parent
connect(ui->prevButton, SIGNAL(clicked()), this, SLOT(showPrev()));
connect(ui->subscribeToolButton, SIGNAL(subscribe(bool)), this, SLOT(subscribeGroup(bool)));
connect(ui->toolButton_NewId, SIGNAL(clicked()), this, SLOT(createNewGxsId()));
// default sort method.
mSortMethod = RsPosted::HotRankType;
mLastSortMethod = RsPosted::TopRankType; // to be different.
@ -273,14 +270,6 @@ void PostedListWidget::submitVote(const RsGxsGrpMsgIdPair &msgId, bool up)
mTokenQueue->queueRequest(token, TOKENREQ_MSGINFO, RS_TOKREQ_ANSTYPE_ACK, mTokenTypeVote);
}
void PostedListWidget::createNewGxsId()
{
IdEditDialog dlg(this);
dlg.setupNewId(false);
dlg.exec();
ui->idChooser->setDefaultId(dlg.getLastIdName());
}
void PostedListWidget::subscribeGroup(bool subscribe)
{
if (groupId().isNull()) {