From cab4214db35cb334cd17160e392a3ec7b6778cb2 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sat, 17 Mar 2018 22:00:48 +0100 Subject: Synchronization will fail without it, so warn. --- common/synchronizer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common') 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 KAsync::Job Synchronizer::processSyncQueue() { if (secret().isEmpty()) { - SinkLogCtx(mLogCtx) << "Secret not available but required."; + SinkWarningCtx(mLogCtx) << "Secret not available but required."; + emitNotification(Notification::Warning, ApplicationDomain::SyncError, "Secret is not available.", {}, {}); return KAsync::null(); } if (mSyncRequestQueue.isEmpty()) { -- cgit v1.2.3