Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9622 in orxonox.OLD for branches/proxy/src/lib/network/monitor


Ignore:
Timestamp:
Jul 30, 2006, 10:26:56 PM (18 years ago)
Author:
bensch
Message:

better segfault-less packing ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/monitor/network_stats_widget.cc

    r9618 r9622  
    3434  this->setIP(ip);
    3535
     36  this->_name.setFont("fonts/arial.ttf");
     37  this->_ip.setFont("fonts/arial.ttf");
     38
    3639  this->pack(&this->_name);
    3740  this->pack(&this->_ip);
     
    6366
    6467NodeWidget::NodeWidget(const NetworkNode* node)
    65   : _proxyWidget("node", node->getPeerInfo()->ip)
     68    : _proxyWidget("node", node->getPeerInfo()->ip)
    6669{
    6770  this->_clientNameWidth = 100.0f;
     
    209212{
    210213  this->_proxies.push_back(new NodeWidget(node));
    211   this->pack(this->_proxies.back());
     214  this->pack(this->_proxies.back(), &this->_refreshButton);
    212215  this->_proxies.back()->show();
    213216}
     
    226229  if (ls != NULL && !ls->empty())
    227230    bo = ls->front();
    228 
    229   printf("==== %p\n", bo);
    230231
    231232  if (bo != NULL && NetworkStatsWidget::_statsWidget == NULL)
Note: See TracChangeset for help on using the changeset viewer.