|
|
@ -691,7 +691,7 @@ void Main::refreshNetwork() |
|
|
|
ui->peerCount->setText(QString::fromStdString(toString(ps.size())) + " peer(s)"); |
|
|
|
ui->peers->clear(); |
|
|
|
for (PeerInfo const& i: ps) |
|
|
|
ui->peers->addItem(QString("%3 ms - %1:%2 - %4").arg(i.host.c_str()).arg(i.port).arg(chrono::duration_cast<chrono::milliseconds>(i.lastPing).count()).arg(i.clientVersion.c_str())); |
|
|
|
ui->peers->addItem(QString("%3 ms - %1:%2 - %4 %5").arg(i.host.c_str()).arg(i.port).arg(chrono::duration_cast<chrono::milliseconds>(i.lastPing).count()).arg(i.clientVersion.c_str()).arg(QString::fromStdString(toString(i.caps)))); |
|
|
|
} |
|
|
|
|
|
|
|
void Main::refreshAll() |
|
|
@ -1906,4 +1906,7 @@ void Main::updateDebugger() |
|
|
|
#include\ |
|
|
|
"moc_MiningView.cpp" |
|
|
|
|
|
|
|
#include\ |
|
|
|
"moc_DownloadView.cpp" |
|
|
|
|
|
|
|
#endif |
|
|
|