Skip to content

Commit 2b8eae9

Browse files
committed
Added protocol caps to window
1 parent b2dc191 commit 2b8eae9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mist/assets/qml/main.qml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ ApplicationWindow {
739739

740740
function addPeer(peer) {
741741
// We could just append the whole peer object but it cries if you try to alter them
742-
peerModel.append({ip: peer.ip, port: peer.port, lastResponse:timeAgo(peer.lastSend), latency: peer.latency, version: peer.version})
742+
peerModel.append({ip: peer.ip, port: peer.port, lastResponse:timeAgo(peer.lastSend), latency: peer.latency, version: peer.version, caps: peer.caps})
743743
}
744744

745745
function resetPeers(){
@@ -782,10 +782,11 @@ ApplicationWindow {
782782
id: peerTable
783783
model: peerModel
784784
TableViewColumn{width: 100; role: "ip" ; title: "IP" }
785-
TableViewColumn{width: 60; role: "port" ; title: "Port" }
785+
TableViewColumn{width: 60; role: "port" ; title: "Port" }
786786
TableViewColumn{width: 140; role: "lastResponse"; title: "Last event" }
787787
TableViewColumn{width: 100; role: "latency"; title: "Latency" }
788788
TableViewColumn{width: 260; role: "version" ; title: "Version" }
789+
TableViewColumn{width: 80; role: "caps" ; title: "Capabilities" }
789790
}
790791
}
791792
}

0 commit comments

Comments
 (0)