From f3342746ae109ed3c8f9e2105e48def7e6759055 Mon Sep 17 00:00:00 2001 From: Daniel TARTAVEL Date: Mon, 13 Apr 2026 17:16:55 +0200 Subject: [PATCH] =?UTF-8?q?=20probl=C3=A8me=20de=20fusion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pws2mqtt.cpp | 2 +- src/pws2mqtt.h | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/pws2mqtt.cpp b/src/pws2mqtt.cpp index e044ebf..793029f 100644 --- a/src/pws2mqtt.cpp +++ b/src/pws2mqtt.cpp @@ -161,7 +161,7 @@ void notify(QString notif, QString priority, QString inputPath, QString tag) debug(DEBUGMACRO, "Erreur réseau : " + reply->errorString(), ERROR); } else { - debug(DEBUGMACRO, "Notification envoyée", DEBUG); + debug(DEBUGMACRO, "Notification envoyée", INFO); } reply->deleteLater(); }); diff --git a/src/pws2mqtt.h b/src/pws2mqtt.h index 9976c14..2a43aee 100644 --- a/src/pws2mqtt.h +++ b/src/pws2mqtt.h @@ -3,9 +3,10 @@ #include #include #include -#include -#include -//#include +#ifdef WITH_MQTT + #include + #include +#endif #define RED "\e[31m" #define GREEN "\e[32m"