MCPcopy Create free account
hub / github.com/ElementsProject/elements / rowCount

Method rowCount

src/qt/peertablemodel.cpp:46–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46int PeerTableModel::rowCount(const QModelIndex& parent) const
47{
48 if (parent.isValid()) {
49 return 0;
50 }
51 return m_peers_data.size();
52}
53
54int PeerTableModel::columnCount(const QModelIndex& parent) const
55{

Callers

nothing calls this directly

Calls 2

isValidMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected