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"