summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vrátil <[email protected]>2017-09-29 13:41:17 +0200
committerDaniel Vrátil <[email protected]>2017-09-29 13:41:17 +0200
commit50f5ec884ccb0493f085e35c522c3ead0c61d952 (patch)
treeaefa05557b2a923fe209a9e7a62db9c6aff4f64a
parentd1b8c340eb4d12a5af2ffa4a099e9c61dd5cde37 (diff)
Use Monitor instead of ChangeRecorder in PIMEventsPlugin
-rw-r--r--plugins/plasma/pimeventsplugin/pimcalendarsmodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/plasma/pimeventsplugin/pimcalendarsmodel.cpp b/plugins/plasma/pimeventsplugin/pimcalendarsmodel.cpp
index fa5058f..b79670e 100644
--- a/plugins/plasma/pimeventsplugin/pimcalendarsmodel.cpp
+++ b/plugins/plasma/pimeventsplugin/pimcalendarsmodel.cpp
@@ -20,7 +20,7 @@
#include "pimcalendarsmodel.h"
#include "settingschangenotifier.h"
-#include <AkonadiCore/ChangeRecorder>
+#include <AkonadiCore/Monitor>
#include <AkonadiCore/CollectionFetchScope>
#include <AkonadiCore/EntityTreeModel>
#include <AkonadiCore/EntityDisplayAttribute>
@@ -39,7 +39,7 @@ PimCalendarsModel::PimCalendarsModel(QObject *parent)
setSortLocaleAware(true);
setDynamicSortFilter(true);
- auto cr = new Akonadi::ChangeRecorder(this);
+ auto cr = new Akonadi::Monitor(this);
cr->setMimeTypeMonitored(KCalCore::Event::eventMimeType());
cr->setMimeTypeMonitored(KCalCore::Todo::todoMimeType());
cr->setTypeMonitored(Akonadi::Monitor::Collections);