diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2024-06-06 13:46:38 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2024-06-19 23:09:23 +0200 |
| commit | 08bfc40091f03f01e2866c88516e03dbd6342db5 (patch) | |
| tree | cfbea06130f24dcf87485b1c9910f4e2bee3371a /src/quick/handlers/qquickpointerhandler.cpp | |
| parent | 416d30deb6eedb7e74e907c1f106a9b95368fc2f (diff) | |
QtQuick: Straighten out some logging categories
Either make them static or declare them in a header. We want them to be
static wherever possible, in order to reduce the number of visible
symbols. If they can't be static, however, they should at least be
declared in only one place.
Task-number: QTBUG-67692
Change-Id: I485bb7e4379e86f72619f848399ad58c76586851
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/quick/handlers/qquickpointerhandler.cpp')
| -rw-r--r-- | src/quick/handlers/qquickpointerhandler.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/quick/handlers/qquickpointerhandler.cpp b/src/quick/handlers/qquickpointerhandler.cpp index a29c8ae2d3..92e726bdcc 100644 --- a/src/quick/handlers/qquickpointerhandler.cpp +++ b/src/quick/handlers/qquickpointerhandler.cpp @@ -13,9 +13,8 @@ QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY(lcPointerHandlerDispatch, "qt.quick.handler.dispatch") -Q_LOGGING_CATEGORY(lcPointerHandlerGrab, "qt.quick.handler.grab") -Q_LOGGING_CATEGORY(lcPointerHandlerActive, "qt.quick.handler.active") -Q_DECLARE_LOGGING_CATEGORY(lcHandlerParent) +Q_STATIC_LOGGING_CATEGORY(lcPointerHandlerGrab, "qt.quick.handler.grab") +Q_STATIC_LOGGING_CATEGORY(lcPointerHandlerActive, "qt.quick.handler.active") /*! \qmltype PointerHandler |
