diff options
author | Paul Olav Tvete <paul.tvete@qt.io> | 2018-06-22 11:28:16 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2018-07-09 10:39:00 +0000 |
commit | 25a089b24844579f3623443182465f2d6f41da3a (patch) | |
tree | d82071bc114511c432efe1dcdae58297a39003af /src/client/qwaylandshmbackingstore.cpp | |
parent | 4d5af47cd679ef760c4522f731169da08f577483 (diff) |
Proper naming for backingstore logging category
The logging category is exported, so the name should be
specific.
Change-Id: Iffdc89875ef9e3091009780edc614fee10c05532
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'src/client/qwaylandshmbackingstore.cpp')
-rw-r--r-- | src/client/qwaylandshmbackingstore.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |