[telepathy-qt4/master] MethodInvocationContext: Use qdbus_cast instead of qvariant_cast.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Thu May 14 13:24:17 PDT 2009
---
TelepathyQt4/method-invocation-context.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/TelepathyQt4/method-invocation-context.h b/TelepathyQt4/method-invocation-context.h
index 1c80929..98cb6c5 100644
--- a/TelepathyQt4/method-invocation-context.h
+++ b/TelepathyQt4/method-invocation-context.h
@@ -152,7 +152,7 @@ public:
typename Select<Index>::Type argumentAt() const
{
Q_ASSERT(Index >= 0 && Index < Count);
- return qvariant_cast<typename Select<Index>::Type>(mReply.value(Index));
+ return qdbus_cast<typename Select<Index>::Type>(mReply.value(Index));
}
protected:
--
1.5.6.5
More information about the telepathy-commits
mailing list