Commit a8f07283 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add clearCacheDone signal

parent fbc9bcd1
Pipeline #200125 passed with stage
in 16 minutes and 34 seconds
......@@ -79,6 +79,7 @@ void ClearCacheJob::start()
// TODO: ???
KMessageBox::information(mParentWidget, i18n("Collection cache cleared. You should restart Akonadi now."));
Q_EMIT clearCacheDone();
}
bool ClearCacheJob::canStart() const
......
......@@ -29,6 +29,9 @@ public:
Q_REQUIRED_RESULT QWidget *parentWidget() const;
void setParentWidget(QWidget *newParentWidget);
Q_SIGNALS:
void clearCacheDone();
private:
Akonadi::Collection mCollection;
QWidget *mParentWidget = nullptr;
......
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