From 6ff328d79f08139b860061b550004c6cf441f35d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Thu, 30 Sep 2021 12:15:16 +0200 Subject: [PATCH] Fix keba debug prints --- keba/integrationpluginkeba.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keba/integrationpluginkeba.cpp b/keba/integrationpluginkeba.cpp index a2ad053f..96ee27f0 100644 --- a/keba/integrationpluginkeba.cpp +++ b/keba/integrationpluginkeba.cpp @@ -104,9 +104,9 @@ void IntegrationPluginKeba::setupThing(ThingSetupInfo *info) // Handle reconfigure if (myThings().contains(thing)) { - qCDebug(dcKeba()) << "Reconfigure" << thing->name() << thing->params(); KeContact *keba = m_kebaDevices.take(thing->id()); if (keba) { + qCDebug(dcKeba()) << "Reconfigure" << thing->name() << thing->params(); delete keba; // Now continue with the normal setup } @@ -353,7 +353,7 @@ void IntegrationPluginKeba::onConnectionChanged(bool status) KeContact *keba = static_cast(sender()); Thing *thing = myThings().findById(m_kebaDevices.key(keba)); if (!thing) { - qCWarning(dcKeba()) << "On connection changed: missing device object"; + qCDebug(dcKeba()) << "Received connected changed but the thing seems not to be setup yet."; return; }