Commit 19bd7856 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add method to expunge here

parent 7e62c3f3
......@@ -106,8 +106,10 @@ void DummyKernel::setLastSelectedFolder(Akonadi::Collection::Id col)
void DummyKernel::expunge(Akonadi::Collection::Id col, bool sync)
void DummyKernel::expunge(Akonadi::Collection::Id id, bool sync)
Akonadi::Collection col(id);
if (col.isValid()) {
mFolderCollectionMonitor->expunge(Akonadi::Collection(col), sync);
......@@ -35,7 +35,7 @@ public:
Akonadi::Collection::Id lastSelectedFolder() Q_DECL_OVERRIDE;
void setLastSelectedFolder(Akonadi::Collection::Id col) Q_DECL_OVERRIDE;
bool showPopupAfterDnD() Q_DECL_OVERRIDE;
void expunge(Akonadi::Collection::Id col, bool sync) Q_DECL_OVERRIDE;
void expunge(Akonadi::Collection::Id id, bool sync) Q_DECL_OVERRIDE;
KIdentityManagement::IdentityManager *mIdentityManager;
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