mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 07:35:12 -04:00
Wizard for adding friends. Almost stable, but code needs cleanup.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1101 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b652bd0f3a
commit
afcc1d76d2
11 changed files with 843 additions and 1 deletions
|
@ -63,6 +63,7 @@
|
|||
|
||||
#include "gui/connect/InviteDialog.h"
|
||||
#include "gui/connect/AddFriendDialog.h"
|
||||
#include "gui/connect/ConnectFriendWizard.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
@ -508,13 +509,20 @@ void MainWindow::addFriend()
|
|||
}
|
||||
virtual int NeighLoadPEMString(std::string pem, std::string &id) = 0;
|
||||
#else
|
||||
|
||||
/*
|
||||
static AddFriendDialog *addDialog =
|
||||
new AddFriendDialog(networkDialog, this);
|
||||
|
||||
std::string invite = "";
|
||||
addDialog->setInfo(invite);
|
||||
addDialog->show();
|
||||
*/
|
||||
|
||||
static ConnectFriendWizard* connwiz = new ConnectFriendWizard(this);
|
||||
connwiz->restart();
|
||||
connwiz->show();
|
||||
|
||||
//delete connwiz;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue