statistics - router - fix bold marking for tunnel speeds over 1mbs

This commit is contained in:
RetroPooh 2017-03-21 17:24:59 +03:00
parent 85cfda1963
commit f5e7217bb4

View File

@ -153,7 +153,7 @@ void TurtleRouterDialog::updateTunnelRequests( const std::vector<std::vector<std
font.setItalic(true);
item->setFont(0,font);
}
if(strtol(tunnels_info[i][5].c_str(), NULL, 0)>1000) // fast
if(strtof(tunnels_info[i][5].c_str(), NULL)>1000) // fast
{
font.setBold(true);
item->setFont(0,font);