diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2018-05-04 14:36:47 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2018-05-04 14:19:23 +0000 |
commit | df8b982e9768b6a38e24bac602f0984da62884d7 (patch) | |
tree | be3a2be9128a90b263231ea7d30b22e2fdfb4f7b /src/imports/studio3d/q3dsstudio3ditem.cpp | |
parent | e355fc153700344bdc7b7e169a9eeb254e394ae5 (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.cpp | 3 |
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() |