Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 47c4a02a authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Set objectNames to Monitors to make them easier to identify

parent 7cf7dcee
[CMake]
Build Directory Count=1
Current Build Directory Index-Host System=0
[CMake][CMake Build Directory 0]
Build Directory Path=/data/KDE/build/kde/pim/calendarsupport
Build Type=Debug
Environment Profile=
Extra Arguments=
Install Directory=/data/install/kde
Runtime=Host System
[Project]
VersionControlSupport=kdevgit
[Project]
CreatedFrom=CMakeLists.txt
Manager=KDevCMakeManager
Name=calendarsupport
......@@ -71,6 +71,7 @@ class IncidenceAttachmentModelPrivate
}
m_monitor = new Akonadi::Monitor(q_ptr);
m_monitor->setObjectName(QStringLiteral("IncidenceAttachmentModelMonitor"));
m_monitor->setItemMonitored(m_item);
m_monitor->itemFetchScope().fetchFullPayload(true);
QObject::connect(m_monitor, SIGNAL(itemChanged(Akonadi::Item,QSet<QByteArray>)),
......
......@@ -34,6 +34,7 @@ TagCache::TagCache()
: QObject(),
mMonitor(new Akonadi::Monitor(this))
{
mMonitor->setObjectName(QStringLiteral("TagCacheMonitor"));
mMonitor->setTypeMonitored(Akonadi::Monitor::Tags);
mMonitor->tagFetchScope().fetchAttribute<Akonadi::TagAttribute>();
connect(mMonitor, &Akonadi::Monitor::tagAdded, this, &TagCache::onTagAdded);
......
Markdown is supported
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