summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/vnc/qvnc_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/vnc/qvnc_p.h')
-rw-r--r--src/plugins/platforms/vnc/qvnc_p.h10
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;