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

Method gatherLogsFromString

syncthingwidgets/quick/appservice.cpp:393–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393void AppService::gatherLogsFromString(const QString &newOutput)
394{
395#ifdef Q_OS_ANDROID
396 if (m_clientsFollowingLog) {
397 QJniObject(QNativeInterface::QAndroidApplication::context())
398 .callMethod<jint>("sendMessageToClients", static_cast<jint>(ActivityAction::AppendLog), 0, 0, newOutput);
399 }
400#else
401 emit logsAvailable(newOutput);
402#endif
403 m_log.append(newOutput);
404}
405
406void AppService::gatherLogsFromBytes(const QByteArray &newOutput)
407{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected