diff options
author | Olli Salli <ollisal@gmail.com> | 2011-09-25 20:12:46 +0300 |
---|---|---|
committer | Olli Salli <ollisal@gmail.com> | 2011-10-10 19:17:42 +0300 |
commit | f436363f26f373dac0a383156ba4f6ce8cba4f4d (patch) | |
tree | 2df7d0d55893cdd6685889830ec5040c58271d67 /qt4 | |
parent | d70e0de88ab93abee0dc6777724906aedb43f278 (diff) |
StreamTube examples: Drop verbose debug
While it was useful when developing the examples, it's overtly verbose for somebody just
experimenting with them.
Diffstat (limited to 'qt4')
-rw-r--r-- | qt4/examples/stream-tubes/tube-initiator.cpp | 5 | ||||
-rw-r--r-- | qt4/examples/stream-tubes/tube-receiver.cpp | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/qt4/examples/stream-tubes/tube-initiator.cpp b/qt4/examples/stream-tubes/tube-initiator.cpp index c15aaca4c..7695ec35b 100644 --- a/qt4/examples/stream-tubes/tube-initiator.cpp +++ b/qt4/examples/stream-tubes/tube-initiator.cpp @@ -66,8 +66,8 @@ TubeInitiator::TubeInitiator(const QString &accountName, const QString &receiver mTubeServer = StreamTubeServer::create( QStringList() << QLatin1String("tp-qt4-stube-example"), /* one peer-to-peer service */ QStringList(), /* no Room tube services */ - QString() /* autogenerated Client name */, - true /* do monitor connections */, + QString(), /* autogenerated Client name */ + true, /* do monitor connections */ accountFactory, connectionFactory, channelFactory, contactFactory); connect(mTubeServer.data(), @@ -265,7 +265,6 @@ int main(int argc, char **argv) } Tp::registerTypes(); - Tp::enableDebug(true); new TubeInitiator(QLatin1String(argv[1]), QLatin1String(argv[2]), &app); diff --git a/qt4/examples/stream-tubes/tube-receiver.cpp b/qt4/examples/stream-tubes/tube-receiver.cpp index 5ae9fff71..a202dd15b 100644 --- a/qt4/examples/stream-tubes/tube-receiver.cpp +++ b/qt4/examples/stream-tubes/tube-receiver.cpp @@ -90,7 +90,6 @@ int main(int argc, char **argv) QCoreApplication app(argc, argv); Tp::registerTypes(); - Tp::enableDebug(true); new TubeReceiver(&app); |