File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 10771077 </widget >
10781078 </item >
10791079 <item row =" 1" column =" 0" >
1080- <widget class =" QLabel" name =" label_23" >
1080+ <widget class =" QLabel" name =" peerConnectionTypeLabel" >
1081+ <property name =" toolTip" >
1082+ <string >The connection type of this peer.</string >
1083+ </property >
10811084 <property name =" text" >
1082- <string >Direction </string >
1085+ <string >Connection Type </string >
10831086 </property >
10841087 </widget >
10851088 </item >
10861089 <item row =" 1" column =" 1" >
1087- <widget class =" QLabel" name =" peerDirection " >
1090+ <widget class =" QLabel" name =" peerConnectionType " >
10881091 <property name =" cursor" >
10891092 <cursorShape >IBeamCursor</cursorShape >
10901093 </property >
Original file line number Diff line number Diff line change @@ -1108,7 +1108,8 @@ void RPCConsole::updateDetailWidget()
11081108 ui->timeoffset ->setText (GUIUtil::formatTimeOffset (stats->nodeStats .nTimeOffset ));
11091109 ui->peerVersion ->setText (QString::number (stats->nodeStats .nVersion ));
11101110 ui->peerSubversion ->setText (QString::fromStdString (stats->nodeStats .cleanSubVer ));
1111- ui->peerDirection ->setText (stats->nodeStats .fInbound ? tr (" Inbound" ) : tr (" Outbound" ));
1111+ ui->peerConnectionType ->setText (GUIUtil::ConnectionTypeToQString (stats->nodeStats .m_conn_type ));
1112+
11121113 if (stats->nodeStats .m_permissionFlags == PF_NONE) {
11131114 ui->peerPermissions ->setText (tr (" N/A" ));
11141115 } else {
You can’t perform that action at this time.
0 commit comments