Skip to content

Commit 79e997e

Browse files
committed
gui: move Peers direction arrow from address to network
1 parent b1704ea commit 79e997e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/qt/peertablemodel.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ QVariant PeerTableModel::data(const QModelIndex &index, int role) const
158158
case NetNodeId:
159159
return (qint64)rec->nodeStats.nodeid;
160160
case Address:
161-
// prepend to peer address down-arrow symbol for inbound connection and up-arrow for outbound connection
162-
return QString(rec->nodeStats.fInbound ? "" : "") + QString::fromStdString(rec->nodeStats.addrName);
161+
return QString::fromStdString(rec->nodeStats.addrName);
163162
case Network:
164-
return GUIUtil::NetworkNameToQString(rec->nodeStats.m_network);
163+
// Prepend down-arrow symbol for inbound connection and up-arrow for outbound connection.
164+
return QString(rec->nodeStats.fInbound ? "" : "") + GUIUtil::NetworkNameToQString(rec->nodeStats.m_network);
165165
case Ping:
166166
return GUIUtil::formatPingTime(rec->nodeStats.m_min_ping_usec);
167167
case Sent:

0 commit comments

Comments
 (0)