Improve debug message wording

This commit is contained in:
Nicolas Fella 2019-05-26 20:30:39 +02:00
parent 7ad5f81f52
commit 3c353e7828
2 changed files with 4 additions and 4 deletions

View file

@ -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()

View file

@ -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)