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

Method handleProcessReadyRead

syncthingwidgets/misc/syncthinglauncher.cpp:429–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427}
428
429void SyncthingLauncher::handleProcessReadyRead()
430{
431 const auto data = m_process.readAll();
432 if (m_logFile.isOpen()) {
433 m_logFile.write(data);
434 }
435 handleOutputAvailable(std::numeric_limits<int>::max(), data);
436}
437
438void SyncthingLauncher::handleProcessStateChanged(QProcess::ProcessState newState)
439{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected