Branch 'kolab/integration/4.13.0' - akonadi/monitor_p.cpp
Aaron Seigo
seigo at kolabsys.com
Wed Oct 15 16:30:28 CEST 2014
akonadi/monitor_p.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2eb1e2c3746116508b39d552789543f0ba9b1e0f
Author: Aaron Seigo <aseigo at kde.org>
Date: Wed Oct 15 16:28:42 2014 +0200
correct signal signature
QObject::receivers doesn't complain if a signal doesn't exist,
unlike QObject::connect (e.g.). the optimizations that rely on
QObject::receivers is therefore more brittle than one might expect.
diff --git a/akonadi/monitor_p.cpp b/akonadi/monitor_p.cpp
index 4d1ea2f..47605e7 100644
--- a/akonadi/monitor_p.cpp
+++ b/akonadi/monitor_p.cpp
@@ -977,7 +977,7 @@ bool MonitorPrivate::emitItemsNotification(const NotificationMessageV3 &msg_, co
}
return false;
case NotificationMessageV2::ModifyRelations:
- if (q_ptr->receivers(SIGNAL(itemsRelationsChanged(Akonadi::Item::List,QSet<Akonadi::Relation>,QSet<Akonadi::Relation>))) > 0) {
+ if (q_ptr->receivers(SIGNAL(itemsRelationsChanged(Akonadi::Item::List,Akonadi::Relation::List,Akonadi::Relation::List))) > 0) {
emit q_ptr->itemsRelationsChanged(its, addedRelations, removedRelations);
return true;
}
More information about the commits
mailing list