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

Method copyPath

syncthingwidgets/misc/syncthingmodels.cpp:192–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192bool SyncthingModels::copyPath(const QString &dirId, const QString &relativePath)
193{
194 const auto fullPath = m_connection.fullPath(dirId, relativePath);
195 if (fullPath.isEmpty()) {
196 emit error(tr("Unable to copy \"%1\"").arg(relativePath));
197 } else if (copyText(fullPath)) {
198 return true;
199 }
200 return false;
201}
202
203QString SyncthingModels::getClipboardText() const
204{

Callers

nothing calls this directly

Calls 1

fullPathMethod · 0.80

Tested by

no test coverage detected