telepathy-qt: BaseChannelGroupInterface::setGroupFlags(): Fixed groupFlagsChanged.

Alexandr Akulich kaffeine at kemper.freedesktop.org
Fri Dec 4 11:41:58 PST 2015


Module: telepathy-qt
Branch: master
Commit: 7895cca53a868836bdc87ac3cd533e744c373931
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=7895cca53a868836bdc87ac3cd533e744c373931

Author: Alexandr Akulich <akulichalexander at gmail.com>
Date:   Sat Dec  5 00:35:16 2015 +0500

BaseChannelGroupInterface::setGroupFlags(): Fixed groupFlagsChanged.

The signal signature not "Tp::ChannelGroupFlags,Tp::ChannelGroupFlags",
but "uint,uint"

This fixes the signal emission.

---

 TelepathyQt/base-channel.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/TelepathyQt/base-channel.cpp b/TelepathyQt/base-channel.cpp
index 717ab99..91d4c2e 100644
--- a/TelepathyQt/base-channel.cpp
+++ b/TelepathyQt/base-channel.cpp
@@ -2100,7 +2100,7 @@ void BaseChannelGroupInterface::setGroupFlags(const Tp::ChannelGroupFlags &flags
     const Tp::ChannelGroupFlags removed   = mPriv->groupFlags & ~keptFlags;
 
     mPriv->groupFlags = flags;
-    QMetaObject::invokeMethod(mPriv->adaptee, "groupFlagsChanged", Q_ARG(Tp::ChannelGroupFlags, added), Q_ARG(Tp::ChannelGroupFlags, removed)); //Can simply use emit in Qt5
+    QMetaObject::invokeMethod(mPriv->adaptee, "groupFlagsChanged", Q_ARG(uint, added), Q_ARG(uint, removed)); //Can simply use emit in Qt5
 }
 
 /**



More information about the telepathy-commits mailing list