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

Method handleError

syncthingconnector/syncthingprocess.cpp:402–409  ·  view source on GitHub ↗

! * \brief Internally handles an error. */

Source from the content-addressed store, hash-verified

400 * \brief Internally handles an error.
401 */
402void SyncthingProcess::handleError(int error, const QString &errorMessage, bool closed)
403{
404 setErrorString(errorMessage);
405 emit errorOccurred(static_cast<QProcess::ProcessError>(error));
406 if (closed) {
407 setOpenMode(QIODevice::NotOpen);
408 }
409}
410
411/*!
412 * \brief Returns the process' state.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected