telepathy-qt: Match arg type in remaining QMetaObject::invoke calls
David Edmundson
davidedmundson at kemper.freedesktop.org
Mon Mar 9 05:00:29 PDT 2015
Module: telepathy-qt
Branch: master
Commit: ac90076c5eb42a672d1e6307927b8dce6087d999
URL: http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=ac90076c5eb42a672d1e6307927b8dce6087d999
Author: David Edmundson <kde at davidedmundson.co.uk>
Date: Mon Mar 9 12:59:12 2015 +0100
Match arg type in remaining QMetaObject::invoke calls
---
TelepathyQt/base-call.cpp | 2 +-
TelepathyQt/base-channel.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/TelepathyQt/base-call.cpp b/TelepathyQt/base-call.cpp
index d240a4d..1b3769f 100644
--- a/TelepathyQt/base-call.cpp
+++ b/TelepathyQt/base-call.cpp
@@ -304,7 +304,7 @@ void BaseCallMuteInterface::setMuteState(const Tp::LocalMuteState &state)
{
if (mPriv->state != state) {
mPriv->state = state;
- QMetaObject::invokeMethod(mPriv->adaptee, "muteStateChanged", Q_ARG(Tp::LocalMuteState, state));
+ QMetaObject::invokeMethod(mPriv->adaptee, "muteStateChanged", Q_ARG(uint, state));
}
}
diff --git a/TelepathyQt/base-channel.cpp b/TelepathyQt/base-channel.cpp
index 4798c66..360e500 100644
--- a/TelepathyQt/base-channel.cpp
+++ b/TelepathyQt/base-channel.cpp
@@ -2254,7 +2254,7 @@ void BaseChannelHoldInterface::setHoldState(const Tp::LocalHoldState &state, con
if (mPriv->state != state) {
mPriv->state = state;
mPriv->reason = reason;
- QMetaObject::invokeMethod(mPriv->adaptee, "holdStateChanged", Q_ARG(Tp::LocalHoldState, state), Q_ARG(Tp::LocalHoldStateReason, reason));
+ QMetaObject::invokeMethod(mPriv->adaptee, "holdStateChanged", Q_ARG(uint, state), Q_ARG(uint, reason));
}
}
More information about the telepathy-commits
mailing list