diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-03-17 22:00:48 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-03-17 22:00:48 +0100 |
commit | cab4214db35cb334cd17160e392a3ec7b6778cb2 (patch) | |
tree | 43ffb968f5b5bc89aefbf309bc89ea1ab2a73f9c | |
parent | 824d30caf506eb95dd1943d9bd86194f04e6214c (diff) | |
download | sink-cab4214db35cb334cd17160e392a3ec7b6778cb2.tar.gz sink-cab4214db35cb334cd17160e392a3ec7b6778cb2.zip |
Synchronization will fail without it, so warn.
-rw-r--r-- | common/synchronizer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/synchronizer.cpp b/common/synchronizer.cpp index 48e71ff..aa4f030 100644 --- a/common/synchronizer.cpp +++ b/common/synchronizer.cpp | |||
@@ -495,7 +495,8 @@ void Synchronizer::setBusy(bool busy, const QString &reason, const QByteArray re | |||
495 | KAsync::Job<void> Synchronizer::processSyncQueue() | 495 | KAsync::Job<void> Synchronizer::processSyncQueue() |
496 | { | 496 | { |
497 | if (secret().isEmpty()) { | 497 | if (secret().isEmpty()) { |
498 | SinkLogCtx(mLogCtx) << "Secret not available but required."; | 498 | SinkWarningCtx(mLogCtx) << "Secret not available but required."; |
499 | emitNotification(Notification::Warning, ApplicationDomain::SyncError, "Secret is not available.", {}, {}); | ||
499 | return KAsync::null<void>(); | 500 | return KAsync::null<void>(); |
500 | } | 501 | } |
501 | if (mSyncRequestQueue.isEmpty()) { | 502 | if (mSyncRequestQueue.isEmpty()) { |