From 3c353e78286b17f86891fd0cb7a6ec86e0d2beed Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sun, 26 May 2019 20:30:39 +0200 Subject: [PATCH] Improve debug message wording --- core/backends/lan/lanlinkprovider.cpp | 4 ++-- core/daemon.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/backends/lan/lanlinkprovider.cpp b/core/backends/lan/lanlinkprovider.cpp index 7eb18f02c..2e143a7b0 100644 --- a/core/backends/lan/lanlinkprovider.cpp +++ b/core/backends/lan/lanlinkprovider.cpp @@ -88,7 +88,6 @@ void LanLinkProvider::onStart() bool success = m_udpSocket.bind(bindAddress, UDP_PORT, QUdpSocket::ShareAddress); Q_ASSERT(success); - qCDebug(KDECONNECT_CORE) << "onStart"; m_tcpPort = MIN_TCP_PORT; while (!m_server->listen(bindAddress, m_tcpPort)) { @@ -101,13 +100,14 @@ void LanLinkProvider::onStart() } onNetworkChange(); + qCDebug(KDECONNECT_CORE) << "LanLinkProvider started"; } void LanLinkProvider::onStop() { - qCDebug(KDECONNECT_CORE) << "onStop"; m_udpSocket.close(); m_server->close(); + qCDebug(KDECONNECT_CORE) << "LanLinkProvider stopped"; } void LanLinkProvider::onNetworkChange() diff --git a/core/daemon.cpp b/core/daemon.cpp index 48252819a..7382d7298 100644 --- a/core/daemon.cpp +++ b/core/daemon.cpp @@ -77,7 +77,7 @@ Daemon::Daemon(QObject* parent, bool testMode) void Daemon::init() { - qCDebug(KDECONNECT_CORE) << "KdeConnect daemon starting"; + qCDebug(KDECONNECT_CORE) << "Daemon starting"; //Load backends if (d->m_testMode) @@ -110,7 +110,7 @@ void Daemon::init() QDBusConnection::sessionBus().registerService(QStringLiteral("org.kde.kdeconnect")); QDBusConnection::sessionBus().registerObject(QStringLiteral("/modules/kdeconnect"), this, QDBusConnection::ExportScriptableContents); - qCDebug(KDECONNECT_CORE) << "KdeConnect daemon started"; + qCDebug(KDECONNECT_CORE) << "Daemon started"; } void Daemon::acquireDiscoveryMode(const QString& key)