Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[connectionagent] Cleanup logging. Contributes to JB#38834
  • Loading branch information
rainemak committed Jun 1, 2017
1 parent b6229dd commit 7fc73c3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions connd/qconnectionagent.cpp
Expand Up @@ -47,18 +47,16 @@ QConnectionAgent::QConnectionAgent(QObject *parent) :
delayedTethering(false),
valid(true)
{
qDebug() << Q_FUNC_INFO;

new ConnAdaptor(this);
QDBusConnection dbus = QDBusConnection::sessionBus();

if (!dbus.registerObject(CONND_PATH, this)) {
qDebug() << "XXXXXXXXXXX could not register object XXXXXXXXXXXXXXXXXX";
qDebug() << "QConnectionAgent: Could not register object to path" << CONND_PATH;
valid = false;
}

if (!dbus.registerService(CONND_SERVICE)) {
qDebug() << "XXXXXXXXXXX could not register service XXXXXXXXXXXXXXXXXX";
qDebug() << "QConnectionAgent: could not register service" << CONND_SERVICE;
valid = false;
}

Expand Down

0 comments on commit 7fc73c3

Please sign in to comment.