mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed up GUI update issue
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7251 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bab24af091
commit
6d5d3da0fa
@ -43,10 +43,10 @@ class GlobalRouterStatistics: public RsAutoUpdatePage, public Ui::GlobalRouterSt
|
||||
static QString getPeerName(const RsPeerId& peer_id) ;
|
||||
|
||||
void setGlobalRouter(const RsGRouter *grouter) ;
|
||||
virtual void updateDisplay() ;
|
||||
|
||||
private:
|
||||
|
||||
virtual void updateDisplay() ;
|
||||
|
||||
GlobalRouterStatisticsWidget *_tst_CW ;
|
||||
RsGRouter *_grouter ;
|
||||
|
@ -30,6 +30,9 @@ void NetworkSimulatorGUI::updateSelectedNode(int node_id)
|
||||
{
|
||||
_turtle_router_statistics->setTurtleRouter( _viewer->network().node(node_id).turtle_service() ) ;
|
||||
_global_router_statistics->setGlobalRouter( _viewer->network().node(node_id).global_router_service() ) ;
|
||||
|
||||
_turtle_router_statistics->updateDisplay() ;
|
||||
_global_router_statistics->updateDisplay() ;
|
||||
}
|
||||
|
||||
void NetworkSimulatorGUI::toggleNetworkTraffic(bool b)
|
||||
|
@ -41,9 +41,8 @@ class TurtleRouterStatistics: public RsAutoUpdatePage, public Ui::TurtleRouterSt
|
||||
|
||||
void setTurtleRouter(const RsTurtle *turtle) { _turtle = turtle ; }
|
||||
|
||||
private:
|
||||
|
||||
virtual void updateDisplay() ;
|
||||
virtual void updateDisplay() ;
|
||||
private:
|
||||
|
||||
TurtleRouterStatisticsWidget *_tst_CW ;
|
||||
const RsTurtle *_turtle ;
|
||||
|
Loading…
Reference in New Issue
Block a user