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

Method requestRestart

cli/application.cpp:383–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383void Application::requestRestart(const ArgumentOccurrence &)
384{
385 connect(&m_connection, &SyncthingConnection::restartTriggered, &QCoreApplication::quit);
386 m_connection.restart();
387 cerr << "Request restart " << m_settings.syncthingUrl.toLocal8Bit().data() << " ...";
388 cerr.flush();
389}
390
391void Application::requestRescan(const ArgumentOccurrence &occurrence)
392{

Callers

nothing calls this directly

Calls 2

restartMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected