diff --git a/retroshare-gui/src/gui/connect/ConnectFriendWizard.cpp b/retroshare-gui/src/gui/connect/ConnectFriendWizard.cpp
index b343db718..80e4f06c9 100755
--- a/retroshare-gui/src/gui/connect/ConnectFriendWizard.cpp
+++ b/retroshare-gui/src/gui/connect/ConnectFriendWizard.cpp
@@ -416,26 +416,6 @@ void ConnectFriendWizard::initializePage(int id)
ui->CertificatePage->registerField("friendCertificateFile*", ui->friendFileNameEdit);
break;
- case Page_Foff:
- ui->userSelectionCB->addItem(tr("Any peer I've not signed"));
- ui->userSelectionCB->addItem(tr("Friends of my friends who already trust me"));
- ui->userSelectionCB->addItem(tr("Signed peers showing as denied"));
-
- ui->selectedPeersTW->setHorizontalHeaderItem(0, new QTableWidgetItem(tr("")));
- ui->selectedPeersTW->setHorizontalHeaderItem(1, new QTableWidgetItem(tr("Peer name")));
- ui->selectedPeersTW->setHorizontalHeaderItem(2, new QTableWidgetItem(tr("Also signed by")));
- ui->selectedPeersTW->setHorizontalHeaderItem(3, new QTableWidgetItem(tr("Peer id")));
-
- connect(ui->makeFriendButton, SIGNAL(clicked()), this, SLOT(signAllSelectedUsers()));
- connect(ui->userSelectionCB, SIGNAL(activated(int)), this, SLOT(updatePeersList(int)));
-
- updatePeersList(ui->userSelectionCB->currentIndex());
-
- ui->FofPage->setComplete(false);
- break;
- case Page_Rsid:
- ui->RsidPage->registerField("friendRSID*", ui->friendRsidEdit);
- break;
case Page_WebMail:
case Page_Email:
@@ -782,25 +762,6 @@ bool ConnectFriendWizard::validateCurrentPage()
}
break;
}
- case Page_Foff:
- break;
- case Page_Rsid:
- {
- QString rsidstring = ui->friendRsidEdit->text();
-
- if (rsidstring.isEmpty()) {
- return false;
- }
-
- // search for peer id in string
- RsPeerId rsidstr = PeerDefs::idFromRsid(rsidstring, false);
-
- if (rsidstr.isNull() || !rsPeers->getPeerDetails(rsidstr, peerDetails)) {
- setField("errorMessage", tr("This Peer %1 is not available in your Network").arg(rsidstring));
- error = false;
- }
- break;
- }
case Page_Email:
{
QString mailaddresses = ui->addressEdit->text();
@@ -855,9 +816,6 @@ int ConnectFriendWizard::nextId() const
switch ((Page) currentId()) {
case Page_Text:
case Page_Cert:
- case Page_Rsid:
- return error ? ConnectFriendWizard::Page_Conclusion : ConnectFriendWizard::Page_ErrorMessage;
- case Page_Foff:
case Page_WebMail:
case Page_Email:
case Page_ErrorMessage:
@@ -1215,6 +1173,7 @@ void ConnectFriendWizard::generateCertificateCalled()
}
}
+#ifdef TO_BE_REMOVED
//============================= FofPage ======================================
void ConnectFriendWizard::updatePeersList(int index)
@@ -1350,6 +1309,8 @@ void ConnectFriendWizard::signAllSelectedUsers()
//============================= RsidPage =====================================
+#endif
+
//============================ Emailpage =====================================
//========================= ErrorMessagePage =================================
diff --git a/retroshare-gui/src/gui/connect/ConnectFriendWizard.h b/retroshare-gui/src/gui/connect/ConnectFriendWizard.h
index c4a030862..8bba0ac53 100755
--- a/retroshare-gui/src/gui/connect/ConnectFriendWizard.h
+++ b/retroshare-gui/src/gui/connect/ConnectFriendWizard.h
@@ -50,7 +50,7 @@ class ConnectFriendWizard : public QWizard
Q_PROPERTY(QString titleColor READ titleColor WRITE setTitleColor)
public:
- enum Page { Page_Text, Page_Cert, Page_ErrorMessage, Page_Conclusion, Page_Foff, Page_Rsid, Page_WebMail, Page_Email, Page_FriendRequest, Page_FriendRecommendations };
+ enum Page { Page_Text, Page_Cert, Page_ErrorMessage, Page_Conclusion, Page_WebMail, Page_Email, Page_FriendRequest, Page_FriendRecommendations };
ConnectFriendWizard(QWidget *parent = 0);
~ConnectFriendWizard();
@@ -97,10 +97,6 @@ private slots:
void loadFriendCert();
void generateCertificateCalled();
- /* FofPage */
- void updatePeersList(int index);
- void signAllSelectedUsers();
-
/* ConclusionPage */
void groupCurrentIndexChanged(int index);
diff --git a/retroshare-gui/src/gui/connect/ConnectFriendWizard.ui b/retroshare-gui/src/gui/connect/ConnectFriendWizard.ui
index 30ba3a2bd..a3c06f4db 100644
--- a/retroshare-gui/src/gui/connect/ConnectFriendWizard.ui
+++ b/retroshare-gui/src/gui/connect/ConnectFriendWizard.ui
@@ -386,91 +386,6 @@
-
-
- Friends of friends
-
-
- Select now who you want to make friends with.
-
-
- ConnectFriendWizard::Page_Foff
-
-
- -
-
-
- Show me:
-
-
-
- -
-
-
- -
-
-
- true
-
-
- 4
-
-
- false
-
-
-
-
-
-
-
- -
-
-
- Make friend with these peers
-
-
-
-
-
-
-
- RetroShare ID
-
-
- Use RetroShare ID for adding a Friend which is available in your network.
-
-
- ConnectFriendWizard::Page_Rsid
-
-
- -
-
-
- Add Friends RetroShare ID...
-
-
- true
-
-
-
-
- -
-
-
- Paste Friends RetroShare ID in the box below
-
-
-
- -
-
-
- Enter the RetroShare ID of your Friend, e.g. Peer@BDE8D16A46D938CF
-
-
-
-
-
RetroShare is better with Friends