Apply clang-format
This commit is contained in:
parent
d2dc15fdde
commit
211a7942ef
|
@ -42,7 +42,8 @@ SyncthingNotifier::SyncthingNotifier(const SyncthingConnection &connection, QObj
|
|||
, m_previousStatus(SyncthingStatus::Disconnected)
|
||||
, m_ignoreInavailabilityAfterStart(15)
|
||||
, m_initialized(false)
|
||||
, m_logOnStderr(qEnvironmentVariableIntValue(PROJECT_VARNAME_UPPER "_LOG_ALL") || qEnvironmentVariableIntValue(PROJECT_VARNAME_UPPER "_LOG_NOTIFICATIONS"))
|
||||
, m_logOnStderr(
|
||||
qEnvironmentVariableIntValue(PROJECT_VARNAME_UPPER "_LOG_ALL") || qEnvironmentVariableIntValue(PROJECT_VARNAME_UPPER "_LOG_NOTIFICATIONS"))
|
||||
{
|
||||
connect(&connection, &SyncthingConnection::statusChanged, this, &SyncthingNotifier::handleStatusChangedEvent);
|
||||
connect(&connection, &SyncthingConnection::dirCompleted, this, &SyncthingNotifier::emitSyncComplete);
|
||||
|
|
|
@ -69,7 +69,8 @@ SyncthingLauncher::SyncthingLauncher(QObject *parent)
|
|||
connect(networkInformation, &QNetworkInformation::isMeteredChanged, this, [this](bool isMetered) { setNetworkConnectionMetered(isMetered); });
|
||||
setNetworkConnectionMetered(networkInformation->isMetered());
|
||||
} else {
|
||||
std::cerr << EscapeCodes::Phrases::Error << "Unable to load network information backend to monitor metered connections, available backends:" << EscapeCodes::Phrases::End;
|
||||
std::cerr << EscapeCodes::Phrases::Error
|
||||
<< "Unable to load network information backend to monitor metered connections, available backends:" << EscapeCodes::Phrases::End;
|
||||
const auto availableBackends = QNetworkInformation::availableBackends();
|
||||
if (availableBackends.isEmpty()) {
|
||||
std::cerr << "none\n";
|
||||
|
|
Loading…
Reference in New Issue