mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-21 23:40:26 -04:00
Commmit the code from Thunder
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2754 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c79d55a7a7
commit
948e4fb61d
15 changed files with 204 additions and 5 deletions
|
@ -160,6 +160,8 @@ void ServerPage::load()
|
|||
/* set the server address */
|
||||
ui.extAddress->setText(QString::fromStdString(detail.extAddr));
|
||||
ui.extPort -> setValue(detail.extPort);
|
||||
/* set DynDNS */
|
||||
ui.dynDNS -> setText(QString::fromStdString(detail.dyndns));
|
||||
}
|
||||
|
||||
/** Loads the settings for this page */
|
||||
|
@ -262,7 +264,9 @@ void ServerPage::saveAddresses()
|
|||
rsPeers->setExtAddress(rsPeers->getOwnId(), ui.extAddress->text().toStdString(), ui.extPort->value());
|
||||
}
|
||||
|
||||
rsicontrol->ConfigSetDataRates( ui.totalDownloadRate->value(), ui.totalUploadRate->value() );
|
||||
rsPeers->setDynDNS(rsPeers->getOwnId(), ui.dynDNS->text().toStdString());
|
||||
|
||||
rsicontrol->ConfigSetDataRates( ui.totalDownloadRate->value(), ui.totalUploadRate->value() );
|
||||
load();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue