mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-21 23:40:26 -04:00
Added new statusbar widget about pending discovery informations.
You can enable it in the server settings. Recompile of GUI needed. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3956 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3a9181bc85
commit
4b091a54d6
16 changed files with 1100 additions and 873 deletions
|
@ -23,6 +23,7 @@
|
|||
#include <gui/TurtleRouterDialog.h>
|
||||
|
||||
#include "rshare.h"
|
||||
#include "rsharesettings.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
@ -96,6 +97,7 @@ ServerPage::closeEvent (QCloseEvent * event)
|
|||
bool
|
||||
ServerPage::save(QString &errmsg)
|
||||
{
|
||||
Settings->setStatusBarFlag(STATUSBAR_DISC, ui.showDiscStatusBar->isChecked());
|
||||
|
||||
/* save the server address */
|
||||
/* save local address */
|
||||
|
@ -186,8 +188,10 @@ 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));
|
||||
/* set DynDNS */
|
||||
ui.dynDNS -> setText(QString::fromStdString(detail.dyndns));
|
||||
|
||||
ui.showDiscStatusBar->setChecked(Settings->getStatusBarFlags() & STATUSBAR_DISC);
|
||||
}
|
||||
|
||||
/** Loads the settings for this page */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue