| 381 | } |
| 382 | |
| 383 | void 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 | |
| 391 | void Application::requestRescan(const ArgumentOccurrence &occurrence) |
| 392 | { |