MCPcopy Create free account
hub / github.com/comaps/comaps / GetNodeName

Method GetNodeName

qt/update_dialog.cpp:540–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538}
539
540QString UpdateDialog::GetNodeName(CountryId const & countryId)
541{
542 // QString const text = QString::fromUtf8(GetStorage().CountryName(countryId).c_str()); // ???
543 NodeAttrs attrs;
544 GetStorage().GetNodeAttrs(countryId, attrs);
545 return attrs.m_nodeLocalName.c_str();
546}
547
548QTreeWidgetItem * UpdateDialog::CreateTreeItem(CountryId const & countryId, size_t posInRanking, string matchedBy,
549 QTreeWidgetItem * parent)

Callers

nothing calls this directly

Calls 1

GetNodeAttrsMethod · 0.80

Tested by

no test coverage detected