From 7fc73c329a284c91c18b796a998c58a50aa51192 Mon Sep 17 00:00:00 2001 From: Raine Makelainen Date: Thu, 1 Jun 2017 10:19:39 +0300 Subject: [PATCH] [connectionagent] Cleanup logging. Contributes to JB#38834 --- connd/qconnectionagent.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/connd/qconnectionagent.cpp b/connd/qconnectionagent.cpp index f11d111..a13a79d 100644 --- a/connd/qconnectionagent.cpp +++ b/connd/qconnectionagent.cpp @@ -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; }