mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 11:32:48 -04:00
improved turtle router display
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2311 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c37679e807
commit
4b5a175b38
2 changed files with 15 additions and 23 deletions
|
@ -72,13 +72,22 @@ void TurtleRouterDialog::updateDisplay()
|
|||
|
||||
fillTable( _hashes_TW, hashes_info) ;
|
||||
fillTable( _tunnels_TW, tunnels_info) ;
|
||||
fillTable( _tunnel_reqs_TW, tunnel_reqs_info) ;
|
||||
fillTable( _search_reqs_TW, search_reqs_info) ;
|
||||
|
||||
std::vector<std::vector<std::string> >& reqs(search_reqs_info) ;
|
||||
|
||||
for(uint i=0;i<search_reqs_info.size();++i) search_reqs_info[i].push_back("Search request") ;
|
||||
for(uint i=0;i<tunnel_reqs_info.size();++i)
|
||||
{
|
||||
tunnel_reqs_info[i].push_back("Tunnel request") ;
|
||||
reqs.push_back(tunnel_reqs_info[i]) ;
|
||||
}
|
||||
|
||||
fillTable( _reqs_TW, reqs) ;
|
||||
}
|
||||
|
||||
void TurtleRouterDialog::fillTable(QTableWidget *table,const std::vector<std::vector<std::string> >& data)
|
||||
{
|
||||
// table->clearContents() ;
|
||||
table->clearContents() ;
|
||||
|
||||
for(uint i=0;i<data.size();++i)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue