MCPcopy Create free account
hub / github.com/Martchus/syncthingtray / deviceDisplayName

Method deviceDisplayName

syncthingwidgets/misc/syncthingmodels.cpp:389–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387}
388
389QString SyncthingModels::deviceDisplayName(const QString &id) const
390{
391 auto row = 0;
392 auto info = m_connection.findDevInfo(id, row);
393 return info != nullptr ? info->displayName() : id;
394}
395
396QString SyncthingModels::dirDisplayName(const QString &id) const
397{

Callers

nothing calls this directly

Calls 2

displayNameMethod · 0.80
findDevInfoMethod · 0.60

Tested by

no test coverage detected