Commit 898760ab authored by Krzysztof Nowicki's avatar Krzysztof Nowicki Committed by Laurent Montel
Browse files

Add the collection sync queue to the resource state dump

parent 2fcabd02
......@@ -1450,4 +1450,15 @@ void EwsResource::saveCollectionSyncState(Akonadi::Collection &col, const QStrin
QString EwsResource::dumpResourceToString() const
QString dump = QStringLiteral("item sync queue (%1):\n").arg(mFetchItemsJobQueue.count());
for (const auto &item : std::as_const(mFetchItemsJobQueue)) {
dump += QStringLiteral(" %1:%2\n").arg(;
return dump;
SPDX-FileCopyrightText: 2015-2019 Krzysztof Nowicki <>
SPDX-FileCopyrightText: 2015-2020 Krzysztof Nowicki <>
SPDX-License-Identifier: LGPL-2.0-or-later
......@@ -81,6 +81,7 @@ protected Q_SLOTS:
void retrieveItems(const Akonadi::Collection &collection) override;
bool retrieveItems(const Akonadi::Item::List &items, const QSet<QByteArray> &parts) override;
void retrieveTags() override;
QString dumpResourceToString() const override;
private Q_SLOTS:
void fetchFoldersJobFinished(KJob *job);
void fetchFoldersIncrJobFinished(KJob *job);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment