[telepathy-qt4/master] text-chan test: Proper create channel.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Tue Mar 31 16:04:06 PDT 2009
---
tests/dbus/text-chan.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/dbus/text-chan.cpp b/tests/dbus/text-chan.cpp
index 1292ee2..dacca68 100644
--- a/tests/dbus/text-chan.cpp
+++ b/tests/dbus/text-chan.cpp
@@ -412,14 +412,14 @@ void TestTextChan::commonTest(bool withMessages)
void TestTextChan::testMessages()
{
- mChan = TextChannel::create(mConn.data(), mMessagesChanPath, QVariantMap());
+ mChan = TextChannel::create(mConn, mMessagesChanPath, QVariantMap());
commonTest(true);
}
void TestTextChan::testLegacyText()
{
- mChan = TextChannel::create(mConn.data(), mTextChanPath, QVariantMap());
+ mChan = TextChannel::create(mConn, mTextChanPath, QVariantMap());
commonTest(false);
}
--
1.5.6.5
More information about the telepathy-commits
mailing list