From 91068361c9c28f8280ccab26689a34fc842177c9 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Mon, 10 Jun 2024 08:10:07 +0200 Subject: Use Q_STATIC_LOGGING_CATEGORY Task-number: QTBUG-67692 Change-Id: Ied25e7895fc0ac14a32f0506e0d11e8b873a04f2 Reviewed-by: Volker Hilsheimer --- src/plugins/platforms/webgl/qwebglcontext.cpp | 2 +- src/plugins/platforms/webgl/qwebglhttpserver.cpp | 2 +- src/plugins/platforms/webgl/qwebglwebsocketserver.cpp | 2 +- src/plugins/platforms/webgl/qwebglwindow.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/plugins/platforms/webgl/qwebglcontext.cpp b/src/plugins/platforms/webgl/qwebglcontext.cpp index e624595..15fcb93 100644 --- a/src/plugins/platforms/webgl/qwebglcontext.cpp +++ b/src/plugins/platforms/webgl/qwebglcontext.cpp @@ -53,7 +53,7 @@ QT_BEGIN_NAMESPACE -static Q_LOGGING_CATEGORY(lc, "qt.qpa.webgl.context") +Q_STATIC_LOGGING_CATEGORY(lc, "qt.qpa.webgl.context") class QWebGLContextPrivate { diff --git a/src/plugins/platforms/webgl/qwebglhttpserver.cpp b/src/plugins/platforms/webgl/qwebglhttpserver.cpp index 133163e..1212473 100644 --- a/src/plugins/platforms/webgl/qwebglhttpserver.cpp +++ b/src/plugins/platforms/webgl/qwebglhttpserver.cpp @@ -50,7 +50,7 @@ QT_BEGIN_NAMESPACE -static Q_LOGGING_CATEGORY(lc, "qt.qpa.webgl.httpserver") +Q_STATIC_LOGGING_CATEGORY(lc, "qt.qpa.webgl.httpserver") struct HttpRequest { quint16 port = 0; diff --git a/src/plugins/platforms/webgl/qwebglwebsocketserver.cpp b/src/plugins/platforms/webgl/qwebglwebsocketserver.cpp index c7fab3b..aac06cb 100644 --- a/src/plugins/platforms/webgl/qwebglwebsocketserver.cpp +++ b/src/plugins/platforms/webgl/qwebglwebsocketserver.cpp @@ -53,7 +53,7 @@ QT_BEGIN_NAMESPACE -static Q_LOGGING_CATEGORY(lc, "qt.qpa.webgl.websocketserver") +Q_STATIC_LOGGING_CATEGORY(lc, "qt.qpa.webgl.websocketserver") inline QWebGLIntegration *webGLIntegration() { diff --git a/src/plugins/platforms/webgl/qwebglwindow.cpp b/src/plugins/platforms/webgl/qwebglwindow.cpp index ed26f08..ef429e7 100644 --- a/src/plugins/platforms/webgl/qwebglwindow.cpp +++ b/src/plugins/platforms/webgl/qwebglwindow.cpp @@ -46,7 +46,7 @@ QT_BEGIN_NAMESPACE -static Q_LOGGING_CATEGORY(lc, "qt.qpa.webgl.window") +Q_STATIC_LOGGING_CATEGORY(lc, "qt.qpa.webgl.window") QAtomicInt QWebGLWindowPrivate::nextId(1); -- cgit v1.2.3