mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 11:02:30 -04:00
Commit of the new UDP Connection methods and
the rewrite of the retroshare core networking stack. This check-in commits the changes to the GUI code. Changes to use the new rspeers.h interface to the retroshare core. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@316 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c7ce92aba2
commit
c4e1d73837
22 changed files with 651 additions and 486 deletions
|
@ -43,6 +43,7 @@
|
|||
#include "util/rsversion.h"
|
||||
|
||||
#include "rsiface/rsiface.h"
|
||||
#include "rsiface/rspeers.h"
|
||||
|
||||
#include "gui/connect/InviteDialog.h"
|
||||
#include "gui/connect/AddFriendDialog.h"
|
||||
|
@ -347,7 +348,7 @@ void MainWindow::inviteFriend()
|
|||
{
|
||||
static InviteDialog *inviteDialog = new InviteDialog(this);
|
||||
|
||||
std::string invite = rsicontrol->NeighGetInvite();
|
||||
std::string invite = rsPeers->GetRetroshareInvite();
|
||||
inviteDialog->setInfo(invite);
|
||||
inviteDialog->show();
|
||||
|
||||
|
@ -367,7 +368,7 @@ void MainWindow::addSharedDirectory()
|
|||
if (dir != "")
|
||||
{
|
||||
rsicontrol -> ConfigAddSharedDir(dir);
|
||||
rsicontrol -> ConfigSave();
|
||||
//rsicontrol -> ConfigSave();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue