Added protocol caps to window
This commit is contained in:
parent
b2dc19155f
commit
2b8eae9810
@ -739,7 +739,7 @@ ApplicationWindow {
|
|||||||
|
|
||||||
function addPeer(peer) {
|
function addPeer(peer) {
|
||||||
// We could just append the whole peer object but it cries if you try to alter them
|
// We could just append the whole peer object but it cries if you try to alter them
|
||||||
peerModel.append({ip: peer.ip, port: peer.port, lastResponse:timeAgo(peer.lastSend), latency: peer.latency, version: peer.version})
|
peerModel.append({ip: peer.ip, port: peer.port, lastResponse:timeAgo(peer.lastSend), latency: peer.latency, version: peer.version, caps: peer.caps})
|
||||||
}
|
}
|
||||||
|
|
||||||
function resetPeers(){
|
function resetPeers(){
|
||||||
@ -782,10 +782,11 @@ ApplicationWindow {
|
|||||||
id: peerTable
|
id: peerTable
|
||||||
model: peerModel
|
model: peerModel
|
||||||
TableViewColumn{width: 100; role: "ip" ; title: "IP" }
|
TableViewColumn{width: 100; role: "ip" ; title: "IP" }
|
||||||
TableViewColumn{width: 60; role: "port" ; title: "Port" }
|
TableViewColumn{width: 60; role: "port" ; title: "Port" }
|
||||||
TableViewColumn{width: 140; role: "lastResponse"; title: "Last event" }
|
TableViewColumn{width: 140; role: "lastResponse"; title: "Last event" }
|
||||||
TableViewColumn{width: 100; role: "latency"; title: "Latency" }
|
TableViewColumn{width: 100; role: "latency"; title: "Latency" }
|
||||||
TableViewColumn{width: 260; role: "version" ; title: "Version" }
|
TableViewColumn{width: 260; role: "version" ; title: "Version" }
|
||||||
|
TableViewColumn{width: 80; role: "caps" ; title: "Capabilities" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user