search spy more files

This commit is contained in:
RetroPooh 2017-09-15 15:16:36 +03:00
parent 41251fdd9e
commit b9be37b245
2 changed files with 3 additions and 2 deletions

View File

@ -59,6 +59,7 @@ struct TurtleRequestDisplayInfo
RsPeerId source_peer_id ; // Peer that relayed the request
uint32_t age ; // Age in seconds
uint32_t depth ; // Depth of the request. Might be altered.
std::string keywords;
};
class TurtleTrafficStatisticsInfo

View File

@ -162,8 +162,8 @@ void TurtleRouterDialog::updateTunnelRequests( const std::vector<std::vector<std
for(uint i=0;i<search_reqs_info.size();++i)
{
QString str = tr("Request id: %1\t from [%2]\t %3 secs ago").arg(search_reqs_info[i].request_id,0,16).arg(getPeerName(search_reqs_info[i].source_peer_id)).arg(search_reqs_info[i].age);
QString str = tr("Request id: %1\t from [%2]\t %3 secs ago\t\t %4").arg(search_reqs_info[i].request_id,0,16).arg(getPeerName(search_reqs_info[i].source_peer_id)).arg(search_reqs_info[i].age).arg(QString::fromUtf8(search_reqs_info[i].keywords.c_str()));
stl.clear() ;
stl.push_back(str) ;