From 8d67ce3c6f6e8a89ebf640b7722c5812f3d80615 Mon Sep 17 00:00:00 2001 From: Andy Nichols Date: Tue, 21 Jun 2016 14:43:21 +0200 Subject: Cleanup VNC platform plugins debug messages There were many development debug statements still intact, so now they have been removed. Some Debug messages were turned into Warnings when it makes sense to warn the end user of something. The rest of the useful debug messages were converted to be in the qt.qpa.vnc logging catagory. Change-Id: I8e9525f02794ab5eccd4c8fcbc2b1f7c9c25b482 Reviewed-by: Laszlo Agocs --- src/plugins/platforms/vnc/qvnc_p.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/plugins/platforms/vnc/qvnc_p.h') diff --git a/src/plugins/platforms/vnc/qvnc_p.h b/src/plugins/platforms/vnc/qvnc_p.h index cdc49c030a..1c44cd1569 100644 --- a/src/plugins/platforms/vnc/qvnc_p.h +++ b/src/plugins/platforms/vnc/qvnc_p.h @@ -40,21 +40,17 @@ #ifndef QVNC_P_H #define QVNC_P_H -#include -#if 0 -#define QT_VNC_DEBUG if (1) {} else qDebug -#else -#define QT_VNC_DEBUG qDebug -#endif - #include "qvncscreen.h" +#include #include #include #include QT_BEGIN_NAMESPACE +Q_DECLARE_LOGGING_CATEGORY(lcVnc) + class QTcpSocket; class QTcpServer; -- cgit v1.2.3