[Telepathy-commits] [telepathy-qt4/master] roster example: fixed build.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Thu Mar 5 11:27:38 PST 2009


---
 examples/roster/roster-window.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/examples/roster/roster-window.cpp b/examples/roster/roster-window.cpp
index e7b378f..7bc605c 100644
--- a/examples/roster/roster-window.cpp
+++ b/examples/roster/roster-window.cpp
@@ -197,7 +197,7 @@ void RosterWindow::onConnectionCreated(Telepathy::Client::PendingOperation *op)
     PendingConnection *pconn =
         qobject_cast<PendingConnection *>(op);
     mConn = pconn->connection();
-    QSet<uint> features = QSet<uint>() << Connection::FeatureRoster;
+    Features features = Features() << Connection::FeatureRoster;
     connect(mConn->requestConnect(features),
             SIGNAL(finished(Telepathy::Client::PendingOperation *)),
             SLOT(onConnectionReady(Telepathy::Client::PendingOperation *)));
-- 
1.5.6.5




More information about the telepathy-commits mailing list