summaryrefslogtreecommitdiff
path: root/qt4
diff options
context:
space:
mode:
authorOlli Salli <ollisal@gmail.com>2011-09-22 20:26:20 +0300
committerOlli Salli <ollisal@gmail.com>2011-10-10 19:17:42 +0300
commit95be469abaa578d1862da02619f8ae99b4527669 (patch)
tree476a59a2a1caec7305f24c69e90570d3321ad820 /qt4
parentf55b9346046d0629222af841481d68baaac9fb77 (diff)
Fix TubeReceiver example connect to accept signal to follow the latest arg order
Diffstat (limited to 'qt4')
-rw-r--r--qt4/examples/stream-tubes/tube-receiver.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/qt4/examples/stream-tubes/tube-receiver.cpp b/qt4/examples/stream-tubes/tube-receiver.cpp
index 8c7c0b108..5ae9fff71 100644
--- a/qt4/examples/stream-tubes/tube-receiver.cpp
+++ b/qt4/examples/stream-tubes/tube-receiver.cpp
@@ -34,9 +34,8 @@ TubeReceiver::TubeReceiver(QObject *parent)
{
mTubeClient = StreamTubeClient::create(QStringList() << QLatin1String("tp-qt4-stube-example"));
connect(mTubeClient.data(),
- SIGNAL(tubeAcceptedAsUnix(Tp::AccountPtr,Tp::IncomingStreamTubeChannelPtr,QString,
- bool,uchar)),
- SLOT(onTubeAccepted(Tp::AccountPtr,Tp::IncomingStreamTubeChannelPtr,QString)));
+ SIGNAL(tubeAcceptedAsUnix(QString,bool,uchar,Tp::AccountPtr,Tp::IncomingStreamTubeChannelPtr)),
+ SLOT(onTubeAccepted(QString)));
mTubeClient->setToAcceptAsUnix(false); // no SCM_CREDENTIALS required
}