diff options
author | Andy Nichols <andy.nichols@theqtcompany.com> | 2016-06-21 14:43:21 +0200 |
---|---|---|
committer | Andy Nichols <andy.nichols@qt.io> | 2016-06-28 10:18:41 +0000 |
commit | 8d67ce3c6f6e8a89ebf640b7722c5812f3d80615 (patch) | |
tree | 897f29e8b1a64a3d8862c359970037b73557c350 /src/plugins/platforms/vnc/qvnc_p.h | |
parent | adf6bd931fe479b058752fb615c30c87ba661f46 (diff) |
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 <laszlo.agocs@qt.io>
Diffstat (limited to 'src/plugins/platforms/vnc/qvnc_p.h')
-rw-r--r-- | src/plugins/platforms/vnc/qvnc_p.h | 10 |
1 files changed, 3 insertions, 7 deletions
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 <QtCore/qdebug.h> -#if 0 -#define QT_VNC_DEBUG if (1) {} else qDebug -#else -#define QT_VNC_DEBUG qDebug -#endif - #include "qvncscreen.h" +#include <QtCore/QLoggingCategory> #include <QtCore/qbytearray.h> #include <QtCore/qvarlengtharray.h> #include <qpa/qplatformcursor.h> QT_BEGIN_NAMESPACE +Q_DECLARE_LOGGING_CATEGORY(lcVnc) + class QTcpSocket; class QTcpServer; |