summaryrefslogtreecommitdiffstats
path: root/src/imports/studio3d/q3dsstudio3ditem.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2018-05-04 14:36:47 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2018-05-04 14:19:23 +0000
commitdf8b982e9768b6a38e24bac602f0984da62884d7 (patch)
treebe3a2be9128a90b263231ea7d30b22e2fdfb4f7b /src/imports/studio3d/q3dsstudio3ditem.cpp
parente355fc153700344bdc7b7e169a9eeb254e394ae5 (diff)
Move logging categories to a single central place
Also add a new category for the animation manager. The behavior does not change (debug prints are enabled). Not sure if we really want to change this at all (unless it affects performance). But the option to do so by a single function call is now there. Change-Id: Idf0973f37c35475c03405b0e56b2f1b6fb63cd84 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/imports/studio3d/q3dsstudio3ditem.cpp')
-rw-r--r--src/imports/studio3d/q3dsstudio3ditem.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/imports/studio3d/q3dsstudio3ditem.cpp b/src/imports/studio3d/q3dsstudio3ditem.cpp
index 08abb9c..c1fa45b 100644
--- a/src/imports/studio3d/q3dsstudio3ditem.cpp
+++ b/src/imports/studio3d/q3dsstudio3ditem.cpp
@@ -45,14 +45,13 @@
#include <q3dsviewersettings.h>
#include <private/q3dsengine_p.h>
#include <private/q3dsutils_p.h>
+#include <private/q3dslogging_p.h>
#include <Qt3DCore/QEntity>
#include <Qt3DRender/QRenderSurfaceSelector>
#include <Qt3DRender/private/qrendersurfaceselector_p.h>
QT_BEGIN_NAMESPACE
-Q_LOGGING_CATEGORY(lcStudio3D, "q3ds.studio3d")
-
static bool engineCleanerRegistered = false;
static QSet<Q3DSEngine *> engineTracker;
static void engineCleaner()