aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/layouts/qquicklayout_p.h
diff options
context:
space:
mode:
authorJan Arve Sæther <jan-arve.saether@qt.io>2020-04-15 13:50:26 +0200
committerJan Arve Sæther <jan-arve.saether@qt.io>2020-04-21 23:51:09 +0200
commit5728f48834b9225a36d3e1dae44ced7579cde358 (patch)
treeb2bd3b15dbb571ef6f8c3290dd67344e2425f03b /src/imports/layouts/qquicklayout_p.h
parentfc3f603d0067c34356a838b652b94042dc264cd5 (diff)
Use categorized logging instead of quickLayoutDebug()
Pick-to: 5.15 Change-Id: I4db3ebb02a5b541ca8e50e65b9056d398570e331 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/imports/layouts/qquicklayout_p.h')
-rw-r--r--src/imports/layouts/qquicklayout_p.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/imports/layouts/qquicklayout_p.h b/src/imports/layouts/qquicklayout_p.h
index a2594f4274..8f208165e9 100644
--- a/src/imports/layouts/qquicklayout_p.h
+++ b/src/imports/layouts/qquicklayout_p.h
@@ -49,12 +49,7 @@
QT_BEGIN_NAMESPACE
class QQuickLayoutAttached;
-
-#if 0 && !defined(QT_NO_DEBUG) && !defined(QT_NO_DEBUG_OUTPUT)
-# define quickLayoutDebug QMessageLogger(__FILE__, __LINE__, Q_FUNC_INFO).debug
-#else
-# define quickLayoutDebug QT_NO_QDEBUG_MACRO
-#endif
+Q_DECLARE_LOGGING_CATEGORY(lcQuickLayouts)
class QQuickLayoutPrivate;
class QQuickLayout : public QQuickItem, public QQuickItemChangeListener