mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 03:49:29 -04:00
- Deleted AddFriendDialog, InviteDialog and AddFriendWizard files. They are not used in current version, so it was beter not to keep them. We can always restore them, if any need.
- Removed "Invite friend" button from main window. - Also changed some comments to the wizard code. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1102 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
afcc1d76d2
commit
b3f433b5f2
8 changed files with 78 additions and 163 deletions
|
@ -37,8 +37,10 @@
|
|||
#include "util/PixmapMerging.h"
|
||||
#include "LogoBar.h"
|
||||
#include "util/Widget.h"
|
||||
#include "gui/connect/InviteDialog.h"
|
||||
#include "gui/connect/AddFriendDialog.h"
|
||||
//#include "gui/connect/InviteDialog.h"
|
||||
//#include "gui/connect/AddFriendDialog.h"
|
||||
#include "gui/connect/ConnectFriendWizard.h"
|
||||
|
||||
#include "MessagesPopupDialog.h"
|
||||
#include "ShareManager.h"
|
||||
|
||||
|
@ -522,13 +524,21 @@ void MessengerWindow::addFriend2()
|
|||
}
|
||||
virtual int NeighLoadPEMString(std::string pem, std::string &id) = 0;
|
||||
#else
|
||||
|
||||
/*
|
||||
static AddFriendDialog *addDialog2 =
|
||||
new AddFriendDialog(networkDialog2, this);
|
||||
|
||||
std::string invite = "";
|
||||
addDialog2->setInfo(invite);
|
||||
addDialog2->show();
|
||||
*/
|
||||
ConnectFriendWizard* connwiz = new ConnectFriendWizard(this);
|
||||
|
||||
// set widget to be deleted after close
|
||||
connwiz->setAttribute( Qt::WA_DeleteOnClose, true);
|
||||
|
||||
|
||||
connwiz->show();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue