From 25a089b24844579f3623443182465f2d6f41da3a Mon Sep 17 00:00:00 2001 From: Paul Olav Tvete Date: Fri, 22 Jun 2018 11:28:16 +0200 Subject: Proper naming for backingstore logging category The logging category is exported, so the name should be specific. Change-Id: Iffdc89875ef9e3091009780edc614fee10c05532 Reviewed-by: Johan Helsing --- src/client/qwaylandshmbackingstore.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client') diff --git a/src/client/qwaylandshmbackingstore.cpp b/src/client/qwaylandshmbackingstore.cpp index 54b0b798c..dde01357b 100644 --- a/src/client/qwaylandshmbackingstore.cpp +++ b/src/client/qwaylandshmbackingstore.cpp @@ -68,9 +68,9 @@ QT_BEGIN_NAMESPACE namespace QtWaylandClient { -Q_DECLARE_LOGGING_CATEGORY(logCategory) +Q_DECLARE_LOGGING_CATEGORY(lcWaylandBackingstore) -Q_LOGGING_CATEGORY(logCategory, "qt.qpa.wayland.backingstore") +Q_LOGGING_CATEGORY(lcWaylandBackingstore, "qt.qpa.wayland.backingstore") QWaylandShmBuffer::QWaylandShmBuffer(QWaylandDisplay *display, const QSize &size, QImage::Format format, int scale) @@ -277,7 +277,7 @@ void QWaylandShmBackingStore::resize(const QSize &size) // run single buffered, while with the pixman renderer we have to use two. QWaylandShmBuffer *buffer = getBuffer(sizeWithMargins); while (!buffer) { - qCDebug(logCategory, "QWaylandShmBackingStore: stalling waiting for a buffer to be released from the compositor..."); + qCDebug(lcWaylandBackingstore, "QWaylandShmBackingStore: stalling waiting for a buffer to be released from the compositor..."); mDisplay->blockingReadEvents(); buffer = getBuffer(sizeWithMargins); -- cgit v1.2.3